Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.73ms] Passed 4 tests
Analyzing server-side resources used by Rank Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.48 ▼6.74 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.75 ▼4.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.31 ▼7.07 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.03 ▼21.07 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.49 ▼1.24 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Rank Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.56 ▼1.12 | 4.75 ▲2.71 | 41.14 ▼1.82 |
Dashboard /wp-admin | 2,206 ▲21 | 5.86 ▲0.05 | 107.32 ▲5.28 | 41.88 ▼0.26 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▼0.00 | 39.62 ▼0.53 | 34.55 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,539 ▲16 | 23.06 ▼0.26 | 626.94 ▲18.45 | 72.28 ▲15.56 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▲0.02 | 95.73 ▼6.59 | 39.10 ▼3.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 14× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/ranktool/src/modules/seostats.sistrix.php
- > /wp-content/plugins/ranktool/src/interfaces/package.php
- > /wp-content/plugins/ranktool/src/modules/seostats.google.php
- > /wp-content/plugins/ranktool/src/interfaces/services.php
- > /wp-content/plugins/ranktool/src/helper/seostats.exception.php
- > /wp-content/plugins/ranktool/src/helper/seostats.urlhelper.php
- > /wp-content/plugins/ranktool/src/modules/seostats.semrush.php
- > /wp-content/plugins/ranktool/src/interfaces/api-keys.php
- > /wp-content/plugins/ranktool/html.php
- > /wp-content/plugins/ranktool/src/modules/seostats.alexa.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ranktool/ranktool.php:13
- > PHP Notice
Undefined index: domain_urls in wp-content/plugins/ranktool/html.php on line 12
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: seo tools, ranking check, sandeveloper
ranktool/ranktool.php Passed 13 tests
Analyzing the main PHP file in "Rank Tools" version 1.0
113 characters long description:
A plugin to Finding domain ranking For multiple domains , use [RANKING-TOOL] shortcode to display tool in a page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,761 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 356 | 878 | 1,761 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 30 | 25.64% |
▷ Public methods | 100 | 85.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 14.53% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 47 | |
▷ Global constants | 10 | 21.28% |
▷ Class constants | 37 | 78.72% |
▷ Public constants | 37 | 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
No PNG images were found in this plugin