Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.15MB] [CPU: ▼14.84ms] Passed 4 tests
An overview of server-side resources used by Optimize Your Campaigns - Google Shopping - Google Ads - Google Adwords
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 38.46 ▼1.10 |
Dashboard /wp-admin | 3.90 ▲0.56 | 63.56 ▲3.60 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 61.06 ▲15.32 |
Add New Post /wp-admin/post-new.php | 3.66 ▼2.22 | 38.17 ▼69.80 |
Media Library /wp-admin/upload.php | 3.82 ▲0.60 | 42.17 ▲7.93 |
Muzaara /wp-admin/admin.php?page=muzaara | 3.75 | 38.53 |
Settings /wp-admin/admin.php?page=muzaara-settings | 3.75 | 39.06 |
Server storage [IO: ▲23.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4,522 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
muzaara_plugins |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Optimize Your Campaigns - Google Shopping - Google Ads - Google Adwords
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 14.81 ▲0.42 | 1.68 ▼0.08 | 39.49 ▼3.78 |
Dashboard /wp-admin | 2,286 ▲98 | 6.62 ▲1.70 | 143.55 ▲41.56 | 56.44 ▲12.38 |
Posts /wp-admin/edit.php | 2,178 ▲86 | 3.43 ▲1.44 | 63.79 ▲28.06 | 47.63 ▲17.17 |
Add New Post /wp-admin/post-new.php | 1,571 ▲29 | 23.28 ▲5.07 | 694.26 ▲47.71 | 43.51 ▼8.91 |
Media Library /wp-admin/upload.php | 1,475 ▲87 | 5.95 ▲1.71 | 116.30 ▲17.93 | 54.11 ▲13.01 |
Muzaara /wp-admin/admin.php?page=muzaara | 1,000 | 6.91 | 171.67 | 41.75 |
Settings /wp-admin/admin.php?page=muzaara-settings | 1,000 | 6.63 | 177.86 | 35.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- muzaara_plugins
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/scripts/print_php_information.php
- > /wp-content/plugins/muzaara-adwords-optimize-dashboard/templates/dashboard-widget.php
- > /wp-content/plugins/muzaara-adwords-optimize-dashboard/templates/footer.php
- 2286× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Resources/LocationView.php:17
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/vendor/google/common-protos/src/Cloud/Iam/V1/AuditConfigDelta.php:17
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Resources/Invoice.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Enums/FrequencyCapTimeUnitEnum.php:16
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Resources/AccessibleBiddingStrategy/TargetRoas.php:17
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Services/MutateCampaignCriterionResult.php:16
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Enums/CustomPlaceholderFieldEnum.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google\\Auth\\CredentialsLoader' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/vendor/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php:36
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Services/GetAssetRequest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/muzaara-adwords-optimize-dashboard/lib/muzaara/lib/google-ads-php/src/Google/Ads/GoogleAds/V8/Errors/GoogleAdsError.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=muzaara
- > Network (severe)
https://content-partnersbadge-pa.googleapis.com/static/proxy.html?usegapi=1&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.lb.en.L92w_vMR5kE.O%2Fd%3D1%2Frs%3DAHpOoo-GjmyR8TQVDKPrbqj5UQg7cU3cCA%2Fm%3D__features__#parent=https%3A%2F%2Fwww.gstatic.com&rpctoken=569417808 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=muzaara-settings
- > Network (severe)
https://content-partnersbadge-pa.googleapis.com/static/proxy.html?usegapi=1&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.lb.en.L92w_vMR5kE.O%2Fd%3D1%2Frs%3DAHpOoo-GjmyR8TQVDKPrbqj5UQg7cU3cCA%2Fm%3D__features__#parent=https%3A%2F%2Fwww.gstatic.com&rpctoken=613845277 - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: adwords, google adwords, google, woocommerce, google ads
muzaara-adwords-optimize-dashboard/muzaara-gads.php 92% from 13 tests
The entry point to "Optimize Your Campaigns - Google Shopping - Google Ads - Google Adwords" version 3.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("muzaara-adwords-optimize-dashboard.php" instead of "muzaara-gads.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected364,539 lines of code in 5,373 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5,132 | 59,051 | 246,944 | 338,942 |
JSON | 165 | 0 | 0 | 16,153 |
Markdown | 38 | 1,819 | 0 | 5,669 |
JavaScript | 14 | 447 | 150 | 2,299 |
CSS | 8 | 216 | 27 | 1,163 |
YAML | 6 | 33 | 0 | 118 |
Protocol Buffers | 2 | 14 | 38 | 64 |
SVG | 2 | 0 | 0 | 57 |
XML | 3 | 0 | 1 | 44 |
Bourne Shell | 1 | 2 | 0 | 11 |
Dockerfile | 1 | 7 | 4 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 435.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 542 | |
Interfaces | 43 | |
Traits | 27 | |
Classes | 4,751 | |
▷ Abstract classes | 14 | 0.29% |
▷ Concrete classes | 4,737 | 99.71% |
▷ Final classes | 37 | 0.78% |
Methods | 21,988 | |
▷ Static methods | 3,445 | 15.67% |
▷ Public methods | 20,978 | 95.41% |
▷ Protected methods | 202 | 0.92% |
▷ Private methods | 808 | 3.67% |
Functions | 243 | |
▷ Named functions | 93 | 38.27% |
▷ Anonymous functions | 150 | 61.73% |
Constants | 5,083 | |
▷ Global constants | 10 | 0.20% |
▷ Class constants | 5,073 | 99.80% |
▷ Public constants | 5,049 | 99.53% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.55MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 151.02KB | 53.36KB | ▼ 64.67% |
assets/screenshot-3.png | 82.26KB | 32.09KB | ▼ 61.00% |
assets/images/btn_google_signin.png | 7.81KB | 3.34KB | ▼ 57.22% |
assets/screenshot-2.png | 96.91KB | 36.42KB | ▼ 62.42% |
assets/icon-128x128-old.png | 6.42KB | 2.52KB | ▼ 60.71% |