Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.82ms] Passed 4 tests
Server-side resources used by SEOReseller Partner Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.84 ▲1.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.58 ▲5.74 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.46 ▼2.64 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.30 ▼19.63 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.93 ▲1.87 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SEOReseller Partner Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.78 ▼0.63 | 1.67 ▼0.02 | 44.28 ▼4.52 |
Dashboard /wp-admin | 2,231 ▲46 | 4.99 ▼0.11 | 110.12 ▲9.83 | 37.83 ▼2.87 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.25 ▲0.21 | 37.51 ▼4.05 | 33.83 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,693 ▲160 | 22.31 ▼0.98 | 645.98 ▼19.43 | 51.05 ▼3.31 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.26 ▲0.05 | 102.24 ▼3.63 | 43.68 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sr-partner/public/partials/sr-partner-public-display.php
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/integrations/class-integrate-CFormsII.php:2
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/integrations/class-integrate-CalderaForms.php:2
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/includes/class-sr-partner.php:15
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/integrations/class-integrate-WRContactForms.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sr-partner/admin/partials/web-design-portfolio/form.php:2
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/admin/class-sr-partner-admin.php:13
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/includes/class-sr-partner-deactivator.php:11
- > PHP Fatal error
Uncaught Error: Class 'SR_Partner_Core' not found in wp-content/plugins/sr-partner/integrations/class-integrate-FormidableForms.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sr-partner/admin/partials/web-design-portfolio/preview.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sr-partner/includes/class-sr-partner-core.php:6
- > 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 Passed 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
8 plugin tags: digital marketing agency, portfolio, lead tracking, seo audit, agency...
sr-partner/sr-partner.php Passed 13 tests
The entry point to "SEOReseller Partner Plugin" version 1.3.15 is a PHP file that has certain tags in its header comment area
95 characters long description:
SEOReseller's suite of tools for building, managing, and growing your digital marketing agency.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected10,608 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 383 | 29 | 4,235 |
PHP | 35 | 795 | 1,314 | 3,911 |
JavaScript | 6 | 295 | 63 | 2,103 |
PO File | 1 | 174 | 1 | 359 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 18.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 4.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 93 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 31 | 25.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 26 | 89.66% |
▷ Class constants | 3 | 10.34% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sadface.png | 2.32KB | 1.19KB | ▼ 48.67% |
admin/images/select2.png | 0.51KB | 0.33KB | ▼ 34.94% |
admin/images/slider.png | 0.31KB | 1.51KB | 0.00% |
admin/images/colorpicker_hsb_h.png | 0.99KB | 0.77KB | ▼ 21.94% |
admin/images/colorpicker_hex.png | 0.52KB | 0.42KB | ▼ 19.92% |