Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.77ms] Passed 4 tests
An overview of server-side resources used by LabelBaker - Advanced Label Design & Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 37.28 ▼4.60 |
Dashboard /wp-admin | 3.55 ▲0.24 | 46.67 ▼2.66 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 47.47 ▼0.12 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.05 ▼11.71 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.85 ▲6.53 |
Server storage [IO: ▲3.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 228 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by LabelBaker - Advanced Label Design & Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲79 | 14.24 ▼0.14 | 1.68 ▼0.01 | 40.14 ▼4.75 |
Dashboard /wp-admin | 2,246 ▲69 | 5.65 ▲0.12 | 94.45 ▼8.58 | 41.84 ▼3.99 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.04 ▲0.10 | 41.30 ▲0.06 | 36.79 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,536 ▲11 | 23.20 ▼0.36 | 599.85 ▼10.05 | 56.96 ▲9.70 |
Media Library /wp-admin/upload.php | 1,451 ▲54 | 4.22 ▲0.09 | 96.11 ▼5.94 | 39.63 ▼5.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/banner.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/cleanup.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/api.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/menu.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/featured-image.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/assets.php on line 5
- > PHP Fatal error
Trait 'LabelBaker\\BaseTrait' not found in wp-content/plugins/labelbaker/includes/popup.php on line 5
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in labelbaker/assets to your readme.txt
labelbaker/labelbaker.php Passed 13 tests
"LabelBaker - Advanced Label Design & Generator" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
19 characters long description:
Make labels easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,151 lines of code in 221 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 223 | 68 | 874 |
SVG | 41 | 3 | 0 | 698 |
JavaScript | 154 | 27 | 407 | 520 |
CSS | 14 | 8 | 5 | 59 |
PHP code Passed 2 tests
Analyzing 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.17 |
Average class complexity | 4.90 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.92% |
Functions | 21 | |
▷ Named functions | 9 | 42.86% |
▷ Anonymous functions | 12 | 57.14% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin