Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+22
Undefined index: abrankings
Server metrics [RAM: ▼1.69MB] [CPU: ▼310.92ms] Passed 4 tests
This is a short check of server-side resources used by SEO Scout: Content Optimization, Keyword Research, Rank Tracking + SEO Testing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.94 ▼0.89 | 7.17 ▼23.07 |
Dashboard /wp-admin | 1.96 ▼1.10 | 7.33 ▼34.50 |
Posts /wp-admin/edit.php | 1.96 ▼1.15 | 6.02 ▼35.08 |
Add New Post /wp-admin/post-new.php | 1.96 ▼3.47 | 5.98 ▼1,140.24 |
Media Library /wp-admin/upload.php | 1.96 ▼1.05 | 5.58 ▼33.84 |
A/B Rankings /wp-admin/options-general.php?page=abrankings | 1.96 | 6.71 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_abr_tests |
wp_abr_test_urls |
New WordPress options |
---|
abr_last_updated |
Browser metrics Passed 4 tests
A check of browser resources used by SEO Scout: Content Optimization, Keyword Research, Rank Tracking + SEO Testing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,700 ▲94 | 15.81 ▲0.33 | 8.47 ▼1.08 | 45.95 ▼2.98 |
Dashboard /wp-admin | 2,957 ▲107 | 6.05 ▲0.21 | 140.24 ▼1.76 | 101.92 ▼3.35 |
Posts /wp-admin/edit.php | 2,733 ▲27 | 2.70 ▲0.01 | 65.37 ▼2.86 | 91.29 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,709 ▲53 | 16.96 ▼0.99 | 400.38 ▼2.95 | 121.93 ▲10.42 |
Media Library /wp-admin/upload.php | 1,802 ▲30 | 5.03 ▲0.01 | 154.73 ▲7.85 | 111.56 ▼20.36 |
A/B Rankings /wp-admin/options-general.php?page=abrankings | 2,177 | 21.12 | 400.86 | 155.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+22
Undefined index: abrankings
- The uninstall procedure has failed, leaving 1 option in the database
- abr_last_updated
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+22
Undefined index: abrankings
- > GET request to /wp-admin/options-general.php?page=abrankings
- > User notice in wp-includes/functions.php+5663
wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+478
Undefined index: action
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+564
Undefined variable: _SESSION
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+561
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+504
Undefined variable: sites
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+506
Undefined variable: option_group
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+507
Undefined variable: selected
- > GET request to /wp-admin/options-general.php?page=abrankings
- > Notice in wp-content/plugins/ab-rankings-testing-tool/abrankings.php+295
ob_end_clean(): failed to delete buffer. No buffer to delete
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 server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in /var/www/wordpress/wp-content/plugins/ab-rankings-testing-tool/metabox.inc:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
ab-rankings-testing-tool/abrankings.php 92% from 13 tests
"SEO Scout: Content Optimization, Keyword Research, Rank Tracking + SEO Testing" version 0.9.83's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ab-rankings-testing-tool.php" instead of "abrankings.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,178 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 142 | 103 | 704 |
SVG | 14 | 0 | 0 | 398 |
CSS | 1 | 2 | 0 | 56 |
Pascal | 1 | 18 | 45 | 15 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 20 | 86.96% |
▷ Anonymous functions | 3 | 13.04% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/seoscout-logo.png | 9.69KB | 4.31KB | ▼ 55.50% |