Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.52MB] [CPU: ▼1.80ms] Passed 4 tests
An overview of server-side resources used by Outpace SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.99 ▲1.53 | 59.63 ▲17.09 |
Dashboard /wp-admin | 4.83 ▲1.49 | 64.76 ▼2.80 |
Posts /wp-admin/edit.php | 4.88 ▲1.53 | 57.27 ▲0.70 |
Add New Post /wp-admin/post-new.php | 7.44 ▲1.56 | 96.94 ▼15.53 |
Media Library /wp-admin/upload.php | 4.75 ▲1.53 | 53.06 ▲10.45 |
Outpace SEO /wp-admin/admin.php?page=outpaceseo | 4.66 | 44.60 |
Outpace Schema /wp-admin/edit.php?post_type=outpaceseo_schema | 4.80 | 49.02 |
Outpace Script /wp-admin/edit.php?post_type=outpaceseo_script | 4.79 | 45.06 |
Server storage [IO: ▲15.98MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 506 new files
Database: no new tables, 8 new options
New WordPress options |
---|
op_rules |
outpaceseo_bulk_counter |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Outpace SEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲119 | 13.28 ▼1.07 | 4.68 ▲3.01 | 41.64 ▼2.27 |
Dashboard /wp-admin | 2,260 ▲83 | 5.87 ▲0.19 | 96.11 ▼3.56 | 41.05 ▼2.17 |
Posts /wp-admin/edit.php | 2,168 ▲65 | 2.53 ▲0.57 | 41.80 ▼0.30 | 32.27 ▼6.51 |
Add New Post /wp-admin/post-new.php | 6,445 ▲4,919 | 19.08 ▼4.29 | 917.67 ▲251.12 | 46.05 ▼2.12 |
Media Library /wp-admin/upload.php | 1,472 ▲75 | 4.69 ▲0.47 | 110.00 ▲5.67 | 44.78 ▼3.64 |
Outpace SEO /wp-admin/admin.php?page=outpaceseo | 1,082 | 2.95 | 48.77 | 38.68 |
Outpace Schema /wp-admin/edit.php?post_type=outpaceseo_schema | 1,186 | 2.87 | 41.09 | 27.64 |
Outpace Script /wp-admin/edit.php?post_type=outpaceseo_script | 1,142 | 2.49 | 41.74 | 29.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- outpaceseo_bulk_counter
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- op_rules
- 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
Good news, no errors were detected
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
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/outpace-seo/includes/class-outpace-seo-schema-markup.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/outpace-seo/includes/class-outpace-seo-schema.php:80
- > PHP Fatal error
Uncaught Error: Class 'Outpace\\Lib\\Controller' not found in wp-content/plugins/outpace-seo/includes/class-outpace-seo-show-sitemap.php:7
- > PHP Fatal error
Uncaught Error: Class 'Outpace\\Lib\\Controller' not found in wp-content/plugins/outpace-seo/includes/class-outpace-seo-sitemap.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/outpace-seo/includes/views/outpace-html-sitemap.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/outpace-seo/includes/class-outpace-seo-target-rule-field.php:80
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=outpaceseo_script
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot set properties of undefined (setting '_gotoToday')" "TypeError: Cannot set properties of undefined (setting '_gotoToday')\n at Object.init_date_time_fields (/wp-content/plugins/outpace-seo/assets/js/outpaceseo-schema.js?ver=1.3.1:487:31)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/outpace-seo/assets/js/outpaceseo-schema.js?ver=1.3.1:511:24)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=outpaceseo_script
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).select2 is not a function" "TypeError: $(...).select2 is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/outpace-seo/assets/js/outpaceseo-schema.js?ver=1.3.1:22:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=outpaceseo_script
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot set properties of undefined (setting '_gotoToday')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=outpaceseo_script
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).select2 is not a function
- > GET request to /wp-admin/admin.php?page=outpaceseo
- > Javascript (severe) in unknown
/wp-content/plugins/outpace-seo/assets/js/ace/ace.js?ver=1.3.1 18862:18 Uncaught Error: ace.edit can't find div #codeAce
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in outpace-seo/assets to your readme.txt
outpace-seo/outpaceseo.php 85% from 13 tests
The main file in "Outpace SEO" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("outpace-seo.php" instead of "outpaceseo.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin287,559 lines of code in 502 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 453 | 11,628 | 31,231 | 276,820 |
PHP | 43 | 1,368 | 1,520 | 9,769 |
CSS | 6 | 203 | 14 | 970 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 280)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 56.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 280.00 |
Average method complexity | 10.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 280.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 2 | 5.88% |
Methods | 199 | |
▷ Static methods | 84 | 42.21% |
▷ Public methods | 195 | 97.99% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.01% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/outpaceseo.png | 42.15KB | 0.00KB | ▼ 100.00% |