Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.97MB] [CPU: ▼55.85ms] Passed 4 tests
Server-side resources used by Top Rank Content Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.20 ▼33.61 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.99 ▼56.51 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.18 ▼38.39 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 7.35 ▼94.90 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.99 ▼31.84 |
Top Rank Content Checker /wp-admin/tools.php?page=top-rank-content-checker | 2.05 | 6.78 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Top Rank Content Checker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 14.47 ▲0.11 | 1.60 ▼0.30 | 39.17 ▼4.38 |
Dashboard /wp-admin | 2,217 ▲29 | 4.90 ▲0.00 | 109.08 ▼9.07 | 38.81 ▼7.55 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.06 ▲0.06 | 40.99 ▲4.01 | 34.38 ▼3.12 |
Add New Post /wp-admin/post-new.php | 6,219 ▲4,700 | 18.95 ▼4.40 | 859.81 ▲178.26 | 59.54 ▲5.55 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.38 ▲0.22 | 98.35 ▼6.52 | 42.91 ▼1.80 |
Top Rank Content Checker /wp-admin/tools.php?page=top-rank-content-checker | 872 | 1.84 | 26.47 | 57.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/tools.php?page=top-rank-content-checker
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
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 take a closer look at the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/top-rank-content-checker/admin/addon.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/top-rank-content-checker/top-rank-content-checker.php:27
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/top-rank-content-checker/admin/index.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/top-rank-content-checker/admin/setting.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/top-rank-content-checker/admin/install.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Tags: Too many tags (51 tag instead of maximum 10); only the first 5 tags are used in your directory listing
top-rank-content-checker/top-rank-content-checker.php Passed 13 tests
"Top Rank Content Checker" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
88 characters long description:
This is keyword rank checker in Classic Editor.You could view top rank contents rapidly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin588 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 37 | 84 | 423 |
PO File | 1 | 48 | 39 | 92 |
JavaScript | 2 | 0 | 6 | 64 |
CSS | 2 | 0 | 6 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
14 PNG files occupy 1.28MB with 0.69MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/screenshot-1.png | 220.67KB | 112.34KB | ▼ 49.09% |
asset/icon.png | 122.20KB | 43.06KB | ▼ 64.77% |
includes/image/install_guide_3.png | 92.58KB | 39.58KB | ▼ 57.25% |
includes/image/install_guide_5.png | 141.67KB | 72.48KB | ▼ 48.84% |
includes/image/install_guide_6.png | 118.79KB | 61.29KB | ▼ 48.41% |