Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.70ms] Passed 4 tests
An overview of server-side resources used by Easy Customizer - Add Customize sub menu under Themes menu on block based themes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.29 ▼4.20 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.65 ▲2.40 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.45 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.87 ▼5.54 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.71 ▼3.57 |
Server storage [IO: ▲0.04MB] [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: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Customizer - Add Customize sub menu under Themes menu on block based themes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.12 | 4.46 ▲2.64 | 43.80 ▲4.56 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.82 | 101.79 ▼4.22 | 41.11 ▼1.78 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.04 | 36.35 ▼8.09 | 31.40 ▼4.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 18.53 ▼4.62 | 605.71 ▼67.86 | 50.77 ▼1.93 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.04 | 97.46 ▼11.01 | 40.94 ▼3.23 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: customizer, block themes
easy-customizer/easy-customizer.php Passed 13 tests
The main PHP script in "Easy Customizer - Add Customize sub menu under Themes menu on block based themes" version 1.0.1 is automatically included on every request by WordPress
62 characters long description:
Add Customize sub menu under Themes menu on block based themes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin757 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 186 | 414 | 752 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 16.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 2 | 28.57% |
Methods | 57 | |
▷ Static methods | 21 | 36.84% |
▷ Public methods | 52 | 91.23% |
▷ Protected methods | 2 | 3.51% |
▷ Private methods | 3 | 5.26% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
There are no PNG files in this plugin