Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/advanced-rank-checker/rankchecker.php+445
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.78ms] Passed 4 tests
Analyzing server-side resources used by Advanced Rank Checker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.87 ▼34.74 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.02 ▼43.11 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.55 ▼41.73 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.66 ▼83.54 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.10 ▼24.89 |
All keywords /wp-admin/edit.php?post_type=rankchecker | 2.05 | 7.26 |
Rank Checker /wp-admin/admin.php?page=rank_checker | 2.05 | 7.12 |
Rank Checker options /wp-admin/admin.php?page=rankchecker_options | 2.05 | 5.80 |
Add New /wp-admin/post-new.php?post_type=rankchecker | 2.05 | 6.42 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Rank Checker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 13.21 ▼1.16 | 1.89 ▲0.18 | 42.44 ▲2.19 |
Dashboard /wp-admin | 2,268 ▲80 | 5.87 ▲0.97 | 102.19 ▼11.44 | 44.16 ▲1.11 |
Posts /wp-admin/edit.php | 2,150 ▲64 | 2.00 ▼0.05 | 44.88 ▲7.63 | 38.37 ▲7.07 |
Add New Post /wp-admin/post-new.php | 1,568 ▲54 | 23.37 ▲5.85 | 660.14 ▼19.45 | 49.89 ▼11.78 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.23 ▲0.03 | 102.03 ▲2.32 | 44.42 ▼0.63 |
All keywords /wp-admin/edit.php?post_type=rankchecker | 1,123 | 1.93 | 30.39 | 32.45 |
Rank Checker /wp-admin/admin.php?page=rank_checker | 863 | 1.93 | 28.62 | 61.90 |
Rank Checker options /wp-admin/admin.php?page=rankchecker_options | 1,596 | 1.93 | 28.14 | 30.98 |
Add New /wp-admin/post-new.php?post_type=rankchecker | 1,458 | 2.48 | 48.93 | 46.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/advanced-rank-checker/rankchecker.php+445
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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
- 146 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rankchecker
- > Notice in wp-content/plugins/advanced-rank-checker/rankchecker.php+63
Trying to access array offset on value of type bool
- 12 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=rankchecker
- > Notice in wp-content/plugins/advanced-rank-checker/rankchecker.php+31
Undefined index: page
- > GET request to /wp-admin/admin.php?page=rank_checker
- > Notice in wp-content/plugins/advanced-rank-checker/rankchecker.php+303
Undefined index: submit
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-rank-checker/rankchecker_options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-rank-checker/rankchecker.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-rank-checker/rankchecker_dashboard.php:9
- > 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)
Everything seems fine, but this is not an exhaustive test
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 require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== advanced-rank-checker ===
)
advanced-rank-checker/rankchecker.php 92% from 13 tests
"Advanced Rank Checker" version 1.3.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-rank-checker.php" instead of "rankchecker.php")
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 plugin4,076 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 519 | 14 | 3,317 |
PHP | 3 | 129 | 67 | 459 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 2 | 2 | 5 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/plusteken.png | 24.08KB | 13.93KB | ▼ 42.14% |