Cook orzo in salted water to al dente according to the package directions, drain and rinse with cold water to cool, set aside.
Next toast the pine nuts. Place them in a small skillet over medium heat and heat for about 5 minutes. Stir frequently until they are a light to medium golden brown and fragrant. Set aside to cool
Place cooked orzo in a large mixing bowl. Add in sundried tomato and pesto.
Stir to evenly coat the orzo with the pesto.
Add in the chopped onions, chopped cucumber, and chopped grape tomatoes. Stir to incorporate.
Add in the mozzarella balls,shredded parmesan cheese and toasted pine nuts. Stir until everything is evenly incorporated.
Finally fold in the arugula and/or spinach. Taste and add salt if desired.
Serve immediately or cover and refrigerate until serving.