Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.99ms] Passed 4 tests
This is a short check of server-side resources used by WP Core Settings Reduction Project
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.63 ▼1.39 |
Dashboard /wp-admin | 3.31 ▼0.03 | 52.25 ▼8.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.66 ▼7.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.26 ▼6.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.49 ▲2.68 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Core Settings Reduction Project
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,781 ▲35 | 14.25 ▼0.03 | 1.89 ▲0.31 | 44.56 ▲5.54 |
Dashboard /wp-admin | 2,187 ▲10 | 5.59 ▼0.08 | 95.01 ▼31.60 | 39.02 ▼16.45 |
Posts /wp-admin/edit.php | 2,095 ▼8 | 1.97 ▼0.01 | 35.74 ▼6.35 | 33.89 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,520 ▼8 | 23.30 ▲0.29 | 675.75 ▼10.47 | 58.44 ▲12.66 |
Media Library /wp-admin/upload.php | 1,386 ▼14 | 4.19 ▼0.05 | 96.79 ▼10.70 | 46.64 ▲0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Please fix the following
- 10× 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/wp-core-settings-reduction-project/replacements/options-general.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-core-settings-reduction-project/replacements/options-discussion.php on line 9
- > PHP Warning
require_once(ABSPATHwp-admin/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-core-settings-reduction-project/replacements/options-general.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-core-settings-reduction-project/replacements/options.php on line 19
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-core-settings-reduction-project/replacements/options-general.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-core-settings-reduction-project/replacements/options.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-core-settings-reduction-project/wp-core-settings-reduction-project.php:14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-core-settings-reduction-project/replacements/options-discussion.php on line 9
- > PHP Warning
require_once(ABSPATHwp-admin/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-core-settings-reduction-project/replacements/options.php on line 19
- > PHP Warning
require_once(ABSPATHwp-admin/admin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-core-settings-reduction-project/replacements/options-discussion.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: feature-as-plugin
wp-core-settings-reduction-project/wp-core-settings-reduction-project.php 92% from 13 tests
This is the main PHP file of "WP Core Settings Reduction Project" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 322 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected844 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 128 | 145 | 844 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin