Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼11.05ms] Passed 4 tests
Analyzing server-side resources used by True Ranker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.46 ▼7.30 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.14 ▼2.86 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.66 ▼6.41 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.24 ▼27.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.94 ▼1.90 |
Server storage [IO: ▲25.98MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Filesystem usage must be lower than 25MB (currently using 25.98MB)
Filesystem: 2,368 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_seolocalrank |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for True Ranker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.21 ▼0.50 | 2.11 ▲0.51 | 38.09 ▼2.82 |
Dashboard /wp-admin | 2,213 ▲36 | 5.56 ▼0.05 | 90.39 ▲0.59 | 85.67 ▲44.84 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 1.98 ▼0.03 | 38.87 ▼1.53 | 34.43 ▼5.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 23.42 ▲5.07 | 597.77 ▼15.36 | 144.59 ▲76.51 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.21 ▲0.01 | 99.51 ▼1.98 | 72.86 ▲26.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_seolocalrank
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 113× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/seo-local-rank/vendor/guzzlehttp/psr7/src/Request.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Serps\\SearchEngine\\Google\\Parser\\ParsingRuleInterface' not found in wp-content/plugins/seo-local-rank/vendor/serps/search-engine-google/src/Parser/Evaluated/Rule/Natural/Classical/ClassicalCardsResultZ1m.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Serps\\SearchEngine\\Google\\Parser\\ParsingRuleInterface' not found in wp-content/plugins/seo-local-rank/vendor/serps/search-engine-google/src/Parser/Evaluated/Rule/Natural/KnowledgeCard.php:15
- > PHP Fatal error
Uncaught Error: Class 'Serps\\SearchEngine\\Google\\Parser\\AbstractAdwordsParser' not found in wp-content/plugins/seo-local-rank/vendor/serps/search-engine-google/src/Parser/Evaluated/AdwordsParser.php:12
- > PHP Fatal error
Uncaught Error: Class 'Serps\\Exception\\RequestError\\CaptchaException' not found in wp-content/plugins/seo-local-rank/vendor/serps/search-engine-google/src/Exception/GoogleCaptchaException.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Serps\\Core\\Captcha\\AsyncCaptchaSolvingInterface' not found in wp-content/plugins/seo-local-rank/vendor/serps/core/src/Core/Captcha/AsyncCaptchaSolvingCallback.php:8
- > PHP Fatal error
Uncaught Error: Class 'Serps\\Exception\\RequestError\\RequestErrorException' not found in wp-content/plugins/seo-local-rank/vendor/serps/core/src/Exception/RequestError/InvalidResponseException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Serps\\Core\\Http\\HttpClientInterface' not found in wp-content/plugins/seo-local-rank/vendor/serps/http-client-curl/src/CurlClient.php:21
- > PHP Fatal error
Uncaught Error: Class 'Serps\\SearchEngine\\Google\\Parser\\AbstractAdwordsParser' not found in wp-content/plugins/seo-local-rank/vendor/serps/search-engine-google/src/Parser/Evaluated/MobileAdwordsParser.php:12
- > PHP Fatal error
Uncaught Error: Class 'Serps\\Exception' not found in wp-content/plugins/seo-local-rank/vendor/serps/http-client-curl/src/CurlClient/CurlException.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
- Contributors: There were no tags found
- Screenshots: Please add descriptions for these screenshots #4, #5 in seo-local-rank/assets to your readme.txt
seo-local-rank/seolocalrank.php 85% from 13 tests
This is the main PHP file of "True Ranker" version 2.2.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-local-rank.php" instead of "seolocalrank.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 204 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin221,375 lines of code in 2,175 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 14 | 28 | 0 | 61,232 |
CSS | 66 | 12,497 | 544 | 47,588 |
JavaScript | 189 | 7,494 | 8,816 | 35,813 |
YAML | 4 | 0 | 0 | 25,174 |
SVG | 1,604 | 0 | 24 | 15,834 |
PHP | 201 | 3,641 | 7,965 | 13,373 |
HTML | 19 | 378 | 47 | 8,575 |
Sass | 32 | 796 | 81 | 5,860 |
LESS | 19 | 602 | 71 | 5,547 |
Markdown | 16 | 616 | 0 | 1,201 |
XML | 10 | 0 | 0 | 653 |
PO File | 1 | 227 | 323 | 525 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 24 | |
Traits | 5 | |
Classes | 153 | |
▷ Abstract classes | 7 | 4.58% |
▷ Concrete classes | 146 | 95.42% |
▷ Final classes | 3 | 2.05% |
Methods | 1,145 | |
▷ Static methods | 104 | 9.08% |
▷ Public methods | 984 | 85.94% |
▷ Protected methods | 60 | 5.24% |
▷ Private methods | 101 | 8.82% |
Functions | 149 | |
▷ Named functions | 29 | 19.46% |
▷ Anonymous functions | 120 | 80.54% |
Constants | 137 | |
▷ Global constants | 2 | 1.46% |
▷ Class constants | 135 | 98.54% |
▷ Public constants | 135 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
51 PNG files occupy 0.22MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/vendor/datatables/extensions/Plugins/integration/bootstrap/images/sort_asc.png | 1.09KB | 0.25KB | ▼ 77.46% |
admin/vendor/datatables/extensions/Editor/images/shadow_right.png | 1.17KB | 0.77KB | ▼ 34.19% |
admin/vendor/datatables/extensions/TableTools/images/background.png | 0.92KB | 0.08KB | ▼ 91.21% |
admin/vendor/datatables/extensions/AutoFill/images/filler.png | 1.02KB | 0.12KB | ▼ 88.27% |
admin/vendor/datatables/extensions/TableTools/images/collection_hover.png | 1.17KB | 0.23KB | ▼ 80.32% |