Benchmarks
Plugin footprint 64% 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: ▲5.60MB] [CPU: ▲29.14ms] 50% from 4 tests
Server-side resources used by WordPress SEO Audit Plugin - WP Site Auditor
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,109.14ms on /wp-admin/admin.php?page=wpsewcc_welcome_page)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.60MB on /wp-admin/admin.php?page=wpsewcc_welcome_page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.23 ▲5.77 | 70.67 ▲27.65 |
Dashboard /wp-admin | 9.25 ▲5.91 | 80.36 ▲13.90 |
Posts /wp-admin/edit.php | 9.25 ▲5.90 | 90.11 ▲31.05 |
Add New Post /wp-admin/post-new.php | 10.71 ▲4.82 | 140.31 ▲43.96 |
Media Library /wp-admin/upload.php | 9.25 ▲6.03 | 82.18 ▲45.79 |
Site Auditor /wp-admin/admin.php?page=wpsewcc_whats_new | 9.25 | 65.92 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.25 | 67.17 |
Site Auditor /wp-admin/admin.php?page=wpsewcc_welcome_page | 9.25 | 1,109.14 |
Server storage [IO: ▲4.84MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 385 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
fs_accounts |
widget_theysaidso_widget |
wpsewcc_welcome_redirect |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
fs_debug_mode |
theysaidso_admin_options |
fs_active_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress SEO Audit Plugin - WP Site Auditor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.73 ▲0.14 | 1.69 ▼0.58 | 27.58 ▼22.18 |
Dashboard /wp-admin | 2,212 ▲35 | 5.64 ▼0.05 | 93.05 ▼10.03 | 93.56 ▲44.39 |
Posts /wp-admin/edit.php | 2,136 ▲39 | 2.03 ▲0.01 | 39.20 ▲1.56 | 37.53 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 21.84 ▲4.29 | 747.66 ▲94.54 | 47.89 ▼11.60 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.12 ▼0.13 | 99.47 ▼9.46 | 80.56 ▲35.20 |
Site Auditor /wp-admin/admin.php?page=wpsewcc_whats_new | 806 | 2.03 | 28.08 | 24.16 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,100 | 1.72 | 27.29 | 29.97 |
Site Auditor /wp-admin/admin.php?page=wpsewcc_welcome_page | 997 | 1.71 | 26.29 | 59.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/seo-site-auditor-agency/vendor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- fs_debug_mode
- can_compress_scripts
- widget_recent-posts
- fs_active_plugins
- wpsewcc_welcome_redirect
- theysaidso_admin_options
- fs_accounts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpsewcc_whats_new
- > Warning in wp-content/plugins/seo-site-auditor-agency/vendor/vg-plugin-sdk/index.php+174
include(/1.2.1.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=wpsewcc_whats_new
- > Warning in wp-content/plugins/seo-site-auditor-agency/vendor/vg-plugin-sdk/index.php+174
include(): Failed opening '/1.2.1.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=wpsewcc_whats_new
- > Notice in wp-content/plugins/seo-site-auditor-agency/vendor/vg-plugin-sdk/index.php+176
Undefined variable: items
- > GET request to /wp-admin/admin.php?page=wpsewcc_whats_new
- > Warning in wp-content/plugins/seo-site-auditor-agency/vendor/vg-plugin-sdk/index.php+192
include(): Filename cannot be empty
- > GET request to /wp-admin/admin.php?page=wpsewcc_whats_new
- > Warning in wp-content/plugins/seo-site-auditor-agency/vendor/vg-plugin-sdk/index.php+192
include(): Failed opening '' for inclusion (include_path='.:/usr/share/php')
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seo-site-auditor-agency/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/reader/memory_test.php
- > /wp-content/plugins/seo-site-auditor-agency/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/memory_test.php
- 124× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/seo-site-auditor-agency/views/frontend/img-template.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function file_get_html() in wp-content/plugins/seo-site-auditor-agency/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/example/scraping/example_scraping_slashdot.php:6
- > PHP Fatal error
Uncaught Error: Class 'Iodev\\Whois\\Modules\\Tld\\TldParser' not found in wp-content/plugins/seo-site-auditor-agency/vendor/io-developer/php-whois/src/Iodev/Whois/Modules/Tld/Parsers/AutoParser.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-site-auditor-agency/frontend/checks/found-apple-icon.php:39
- > PHP Fatal error
Uncaught Error: Interface 'Iodev\\Whois\\Loaders\\ILoader' not found in wp-content/plugins/seo-site-auditor-agency/vendor/io-developer/php-whois/src/Iodev/Whois/Loaders/MemcachedLoader.php:9
- > PHP Fatal error
Uncaught Error: Class 'Iodev\\Whois\\Modules\\Tld\\Parsers\\CommonParser' not found in wp-content/plugins/seo-site-auditor-agency/vendor/io-developer/php-whois/src/Iodev/Whois/Modules/Tld/Parsers/BlockParser.php:10
- > PHP Fatal error
Uncaught Error: Class 'Sunra\\PhpSimple\\HtmlDomParser' not found in wp-content/plugins/seo-site-auditor-agency/frontend/check.php:12
- > PHP Fatal error
Uncaught Error: Class 'simple_html_dom' not found in wp-content/plugins/seo-site-auditor-agency/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/strip_testcase.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-site-auditor-agency/backend/options.php:15
- > PHP Fatal error
Uncaught Error: Class 'simple_html_dom' not found in wp-content/plugins/seo-site-auditor-agency/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/invalid_testcase.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: wp site auditor, seo audit, wordpress site audit, site audit plugin, url auditor
seo-site-auditor-agency/index.php 77% from 13 tests
The principal PHP file in "WordPress SEO Audit Plugin - WP Site Auditor" v. 1.2.9 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-site-auditor-agency.php" instead of "index.php")
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin59,406 lines of code in 311 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 259 | 9,896 | 19,381 | 46,154 |
JSON | 10 | 0 | 0 | 4,452 |
HTML | 6 | 599 | 50 | 4,076 |
JavaScript | 11 | 794 | 736 | 2,766 |
CSS | 20 | 94 | 97 | 1,185 |
PO File | 1 | 234 | 325 | 577 |
Markdown | 3 | 62 | 0 | 190 |
SVG | 1 | 0 | 1 | 6 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 50.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 104 | |
▷ Abstract classes | 4 | 3.85% |
▷ Concrete classes | 100 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,862 | |
▷ Static methods | 277 | 14.88% |
▷ Public methods | 1,415 | 75.99% |
▷ Protected methods | 45 | 2.42% |
▷ Private methods | 402 | 21.59% |
Functions | 191 | |
▷ Named functions | 182 | 95.29% |
▷ Anonymous functions | 9 | 4.71% |
Constants | 188 | |
▷ Global constants | 126 | 67.02% |
▷ Class constants | 62 | 32.98% |
▷ Public constants | 62 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.41MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/monitor.png | 9.13KB | 5.77KB | ▼ 36.75% |
assets/img/logo.png | 9.95KB | 4.94KB | ▼ 50.37% |
(invalid) assets/img/advert.png | 9.61KB | 0.00KB | ▼ 100.00% |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/restriction.png | 252.82KB | 40.03KB | ▼ 84.17% |