Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.50ms] Passed 4 tests
Analyzing server-side resources used by EasyBackendStyle
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.63 ▲1.74 |
Dashboard /wp-admin | 3.35 ▲0.05 | 55.31 ▲4.66 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.92 ▲4.37 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.71 ▲0.07 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.32 ▲3.83 |
EasyBackendStyle /wp-admin/options-general.php?page=easyBackendStyle | 3.36 | 56.95 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please fix the following
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/easybackendstyle/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/easybackendstyle/resources/images/EasyBackendStyle-klein-gr\303\274n.svg"
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_easyBackendStyle |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EasyBackendStyle
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲66 | 13.29 ▼1.08 | 1.97 ▼0.30 | 41.49 ▼2.32 |
Dashboard /wp-admin | 2,196 ▲8 | 5.79 ▲0.89 | 100.66 ▼2.97 | 39.28 ▼0.62 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.99 ▼0.01 | 38.22 ▼2.94 | 31.97 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,544 ▲15 | 17.96 ▼0.24 | 597.42 ▼39.16 | 53.08 ▼0.80 |
Media Library /wp-admin/upload.php | 1,381 ▼7 | 4.18 ▲0.04 | 98.05 ▼1.89 | 41.45 ▼9.69 |
EasyBackendStyle /wp-admin/options-general.php?page=easyBackendStyle | 3,004 | 3.20 | 118.07 | 28.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_easyBackendStyle
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: ebsPlugin in wp-content/plugins/easybackendstyle/ebs_SettingsSubMenu.php on line 21
- > PHP Fatal error
Uncaught TypeError: Typed property ebs_SettingsSubMenu::$ebs must be an instance of easyBackendStyle, null used in wp-content/plugins/easybackendstyle/ebs_SettingsSubMenu.php:21
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: admin theme, customize admin, backend interface design, backend theme, wordpress customization...
easybackendstyle/easyBackendStyle.php 85% from 13 tests
"EasyBackendStyle" version 2.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 219 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("easybackendstyle.php" instead of "easyBackendStyle.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
Everything looks great! No dangerous files found in this plugin1,685 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 107 | 29 | 568 |
Markdown | 1 | 121 | 0 | 553 |
PHP | 4 | 74 | 81 | 323 |
JavaScript | 1 | 41 | 20 | 184 |
PO File | 1 | 16 | 16 | 52 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin