Benchmarks
Plugin footprint 83% 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.42MB] [CPU: ▼13.58ms] Passed 4 tests
An overview of server-side resources used by feeCOMPASS ranking
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 42.91 ▼1.07 |
Dashboard /wp-admin | 3.59 ▲0.29 | 51.68 ▲5.22 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 51.50 ▲1.18 |
Add New Post /wp-admin/post-new.php | 3.42 ▼2.47 | 40.30 ▼54.98 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 38.03 ▲0.56 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wpfc_db_version |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for feeCOMPASS ranking
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.31 ▼1.07 | 5.32 ▲3.16 | 45.04 ▲4.99 |
Dashboard /wp-admin | 2,219 ▲28 | 4.88 ▲0.01 | 110.63 ▲4.42 | 40.99 ▲1.71 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▲0.00 | 39.65 ▼1.18 | 35.37 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.19 ▲0.08 | 650.50 ▼24.16 | 55.06 ▲3.87 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.15 ▼0.09 | 94.99 ▼9.18 | 39.99 ▼4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- wpfc_db_version
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following
- 14× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/feecompass-rankings/inc/general/Localization.class.php
- > /wp-content/plugins/feecompass-rankings/inc/general/Activator.class.php
- > /wp-content/plugins/feecompass-rankings/inc/base/Base.class.php
- > /wp-content/plugins/feecompass-rankings/inc/others/fallback-php-version.php
- > /wp-content/plugins/feecompass-rankings/inc/general/Assets.class.php
- > /wp-content/plugins/feecompass-rankings/inc/others/fallback-wp-version.php
- > /wp-content/plugins/feecompass-rankings/inc/base/Core.class.php
- > /wp-content/plugins/feecompass-rankings/inc/rest/Service.class.php
- > /wp-content/plugins/feecompass-rankings/inc/menu/Page.class.php
- > /wp-content/plugins/feecompass-rankings/inc/general/Core.class.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Trait 'Ahc\\Jwt\\ValidatesJWT' not found in wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/src/JWT.php on line 22
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/tests/bootstrap.php on line 12
- > PHP Warning
require_once(wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/tests/bootstrap.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/feecompass-rankings/vendor/adhocore/jwt/tests/JWTTest.php:17
- > 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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI ("")
feecompass-rankings/index.php 92% from 13 tests
The main file in "feeCOMPASS ranking" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("feecompass-rankings.php" instead of "index.php")
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
No dangerous file extensions were detected3,824 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 404 | 152 | 2,259 |
PHP | 30 | 281 | 731 | 1,286 |
Markdown | 3 | 46 | 0 | 122 |
JSON | 2 | 0 | 0 | 81 |
PO File | 1 | 9 | 11 | 31 |
XML | 1 | 1 | 0 | 23 |
YAML | 2 | 8 | 2 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 15 | |
▷ Abstract classes | 3 | 20.00% |
▷ Concrete classes | 12 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 5 | 5.32% |
▷ Public methods | 79 | 84.04% |
▷ Protected methods | 12 | 12.77% |
▷ Private methods | 3 | 3.19% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 30 | |
▷ Global constants | 11 | 36.67% |
▷ Class constants | 19 | 63.33% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin