Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.41ms] 75% from 4 tests
Analyzing server-side resources used by Rankchecker.io Integration
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,499.18ms on /wp-admin/admin.php?page=rankchecker_dashboard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.58 ▲0.77 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.50 ▼0.71 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.68 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 87.66 ▼10.18 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.72 ▼1.23 |
Settings /wp-admin/admin.php?page=rankchecker_settings | 4.10 | 1,713.93 |
Dashboard /wp-admin/admin.php?page=rankchecker_dashboard | 4.10 | 1,499.18 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rankchecker.io Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.32 ▼1.42 | 1.74 ▲0.09 | 44.29 ▼4.36 |
Dashboard /wp-admin | 2,240 ▲52 | 4.82 ▼1.03 | 97.86 ▼6.18 | 40.32 ▼2.16 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.04 ▲0.05 | 35.10 ▼6.43 | 37.87 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 17.41 ▼0.77 | 680.96 ▲71.98 | 59.12 ▲6.14 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.23 ▼0.02 | 98.45 ▲1.03 | 41.56 ▼2.32 |
Settings /wp-admin/admin.php?page=rankchecker_settings | 832 | 1.69 | 24.45 | 26.72 |
Dashboard /wp-admin/admin.php?page=rankchecker_dashboard | 822 | 2.02 | 22.38 | 25.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rankchecker_dashboard
- > Notice in wp-content/plugins/rankchecker-io-integration/admin/class-rankchecker-api.php+119
Trying to access array offset on value of type null
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/rankchecker-io-integration/public/partials/rankchecker-public-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Rankchecker_Api' not found in wp-content/plugins/rankchecker-io-integration/admin/partials/general-settings-template.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rankchecker-io-integration/admin/class-rankchecker-badge-widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'Rankchecker_Api' not found in wp-content/plugins/rankchecker-io-integration/admin/partials/dashboard-template.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=rankchecker_dashboard
- > Network (severe)
wp-content/plugins/rankchecker/assets/img/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3 in rankchecker-io-integration/assets to your readme.txt
rankchecker-io-integration/rankchecker.php 92% from 13 tests
This is the main PHP file of "Rankchecker.io Integration" version 1.0.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rankchecker-io-integration.php" instead of "rankchecker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,607 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 26 | 0 | 24 | 959 |
PHP | 15 | 274 | 506 | 531 |
CSS | 2 | 13 | 4 | 111 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 3 | 6.38% |
▷ Public methods | 38 | 80.85% |
▷ Protected methods | 2 | 4.26% |
▷ Private methods | 7 | 14.89% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 4.45KB | 2.47KB | ▼ 44.57% |