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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.10MB] [CPU: ▲9.39ms] Passed 4 tests
An overview of server-side resources used by Greenshift - animation and page builder blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.65 ▲1.19 | 48.01 ▲4.33 |
Dashboard /wp-admin | 4.41 ▲1.07 | 85.58 ▲29.45 |
Posts /wp-admin/edit.php | 4.45 ▲1.09 | 55.91 ▲8.30 |
Add New Post /wp-admin/post-new.php | 7.32 ▲1.43 | 108.31 ▲19.10 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 44.10 ▲5.84 |
GreenShift /wp-admin/admin.php?page=greenshift_dashboard | 4.30 | 39.79 |
Addons /wp-admin/admin.php?page=greenshift_dashboard-addons | 4.31 | 41.45 |
Add New /wp-admin/post-new.php?post_type=wp_block | 7.31 | 91.78 |
Stylebook /wp-admin/admin.php?page=greenshift_stylebook | 4.22 | 40.84 |
Manage Licenses /wp-admin/admin.php?page=greenshift-license | 4.28 | 40.21 |
Settings /wp-admin/admin.php?page=greenshift | 4.26 | 39.71 |
Demo Import /wp-admin/admin.php?page=greenshift_demo | 4.30 | 41.04 |
Contact Us /wp-admin/admin.php?page=greenshift_contact | 4.27 | 39.23 |
All Patterns /wp-admin/edit.php?post_type=wp_block | 4.37 | 46.42 |
Import/Export /wp-admin/admin.php?page=greenshift_import | 4.38 | 40.68 |
Server storage [IO: ▲10.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 169 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
gspb_edd_licenses |
Browser metrics Passed 4 tests
An overview of browser requirements for Greenshift - animation and page builder blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲109 | 14.67 ▲0.28 | 1.73 ▼0.21 | 41.46 ▼7.98 |
Dashboard /wp-admin | 2,264 ▲90 | 5.56 ▼0.01 | 93.35 ▼2.76 | 77.79 ▲38.73 |
Posts /wp-admin/edit.php | 2,245 ▲142 | 1.95 ▼0.05 | 38.02 ▼3.30 | 35.71 ▼4.76 |
Add New Post /wp-admin/post-new.php | 6,303 ▲4,777 | 24.11 ▲1.17 | 915.06 ▲241.61 | 35.51 ▼19.17 |
Media Library /wp-admin/upload.php | 1,484 ▲84 | 4.12 ▼0.11 | 102.39 ▼12.72 | 76.22 ▲31.92 |
GreenShift /wp-admin/admin.php?page=greenshift_dashboard | 1,116 | 2.00 | 24.55 | 37.74 |
Addons /wp-admin/admin.php?page=greenshift_dashboard-addons | 1,230 | 1.99 | 24.52 | 38.57 |
Add New /wp-admin/post-new.php?post_type=wp_block | 6,265 | 24.31 | 1,101.36 | 46.87 |
Stylebook /wp-admin/admin.php?page=greenshift_stylebook | 864 | 1.66 | 28.30 | 26.44 |
Manage Licenses /wp-admin/admin.php?page=greenshift-license | 1,250 | 2.14 | 21.99 | 30.63 |
Settings /wp-admin/admin.php?page=greenshift | 1,233 | 2.03 | 25.94 | 40.94 |
Demo Import /wp-admin/admin.php?page=greenshift_demo | 1,131 | 1.65 | 24.13 | 28.19 |
Contact Us /wp-admin/admin.php?page=greenshift_contact | 1,027 | 1.99 | 24.23 | 24.91 |
All Patterns /wp-admin/edit.php?post_type=wp_block | 1,225 | 6.60 | 65.75 | 63.72 |
Import/Export /wp-admin/admin.php?page=greenshift_import | 1,120 | 1.79 | 26.48 | 38.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- gspb_edd_licenses
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/greenshift-animation-and-page-builder-blocks/includes/jsoptimization.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: block, animation, gsap, gutenberg addons, gutenberg...
greenshift-animation-and-page-builder-blocks/plugin.php 92% from 13 tests
Analyzing the main PHP file in "Greenshift - animation and page builder blocks" version 7.5.3
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("greenshift-animation-and-page-builder-blocks.php" instead of "plugin.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
Success! There were no dangerous files found in this plugin49,372 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 33 | 1 | 0 | 38,338 |
PHP | 32 | 1,435 | 671 | 9,624 |
JavaScript | 48 | 79 | 660 | 704 |
CSS | 14 | 85 | 0 | 482 |
SVG | 18 | 0 | 0 | 171 |
XML | 1 | 0 | 0 | 53 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 48.57 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 6.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 5 | 8.20% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 63 | |
▷ Named functions | 54 | 85.71% |
▷ Anonymous functions | 9 | 14.29% |
Constants | 25 | |
▷ Global constants | 24 | 96.00% |
▷ Class constants | 1 | 4.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.22MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/admin/img/woomini.png | 22.10KB | 7.84KB | ▼ 64.53% |
templates/admin/img/chartmini.png | 99.02KB | 33.00KB | ▼ 66.67% |
templates/admin/img/querymini.png | 26.16KB | 9.63KB | ▼ 63.20% |
templates/admin/img/cursor.png | 8.16KB | 5.31KB | ▼ 34.89% |
templates/admin/img/gsapmini.png | 22.89KB | 8.41KB | ▼ 63.26% |