Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼69.72ms] Passed 4 tests
A check of server-side resources used by Consolety - SEO plugin for Traffic, Authority & Backlinks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 45.16 ▲7.64 |
Dashboard /wp-admin | 3.11 ▲0.05 | 55.03 ▲4.37 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 56.25 ▲5.71 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 386.04 ▼296.08 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 45.35 ▲7.14 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 44 new files
Database: 1 new table, no new options
New tables |
---|
wp_consolety_links |
Browser metrics Passed 4 tests
A check of browser resources used by Consolety - SEO plugin for Traffic, Authority & Backlinks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,796 ▲224 | 16.13 ▲0.40 | 10.79 ▼0.53 | 49.26 ▼5.91 |
Dashboard /wp-admin | 3,045 ▲114 | 7.01 ▲1.03 | 154.30 ▼10.43 | 142.38 ▲17.56 |
Posts /wp-admin/edit.php | 2,850 ▲111 | 2.49 ▼0.23 | 69.28 ▼4.34 | 112.28 ▲23.83 |
Add New Post /wp-admin/post-new.php | 1,700 ▼2,033 | 15.43 ▼2.98 | 419.95 ▼81.39 | 145.81 ▲24.15 |
Media Library /wp-admin/upload.php | 1,836 ▲29 | 5.40 ▲0.36 | 147.29 ▼11.89 | 159.64 ▲25.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_consolety_links
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/consolety/classes/Admin/Tables/ExportedPosts.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/consolety/classes/Admin/Tables/ExportedPosts.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function Consolety\\plugin_dir_url() in wp-content/plugins/consolety/consolety.php:20
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/consolety/classes/Admin/Tables/ExportedPosts.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: seo, link exchange, link building, link partner, backlinks
consolety/consolety.php 92% from 13 tests
The primary PHP file in "Consolety - SEO plugin for Traffic, Authority & Backlinks" version 4.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
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
Success! There were no dangerous files found in this plugin2,836 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 523 | 470 | 2,332 |
CSS | 1 | 17 | 3 | 344 |
JavaScript | 1 | 21 | 0 | 140 |
JSON | 2 | 0 | 0 | 20 |
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.44 |
Average class complexity | 16.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 26 | 18.98% |
▷ Public methods | 132 | 96.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.65% |
Functions | 10 | |
▷ Named functions | 1 | 10.00% |
▷ Anonymous functions | 9 | 90.00% |
Constants | 16 | |
▷ Global constants | 3 | 18.75% |
▷ Class constants | 13 | 81.25% |
▷ Public constants | 1 | 7.69% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/site-status/declined.png | 1.96KB | 0.80KB | ▼ 59.00% |
img/tip.png | 1.69KB | 1.37KB | ▼ 18.70% |
img/site-status/verification.png | 2.23KB | 1.13KB | ▼ 49.23% |
img/site-status/inactive.png | 1.94KB | 0.78KB | ▼ 59.64% |
img/consolety-logo-eye.png | 1.39KB | 1.44KB | 0.00% |