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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.84ms] Passed 4 tests
A check of server-side resources used by Attesa Extra
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 32.03 ▼6.58 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.95 ▲3.12 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.49 ▼0.77 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.03 | 85.75 ▼19.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 35.67 ▼0.85 |
Server storage [IO: ▲2.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 175 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Attesa Extra
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲51 | 14.67 ▲0.41 | 1.58 ▼0.06 | 38.35 ▼5.39 |
Dashboard /wp-admin | 2,203 ▲23 | 5.63 ▼0.02 | 92.29 ▼2.68 | 43.02 ▼2.39 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.16 ▲0.15 | 36.18 ▼4.27 | 35.98 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.21 ▲0.23 | 663.73 ▲66.97 | 49.72 ▼5.96 |
Media Library /wp-admin/upload.php | 1,411 ▲17 | 4.19 ▼0.03 | 97.14 ▼0.40 | 44.32 ▲2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 26× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-parent.php
- > /wp-content/plugins/attesa-extra/metabox/controls/image/template.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-radio-image.php
- > /wp-content/plugins/attesa-extra/metabox/controls/checkboxes/template.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-checkbox.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-checkboxes.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-select-group.php
- > /wp-content/plugins/attesa-extra/metabox/controls/number/template.php
- > /wp-content/plugins/attesa-extra/metabox/butterbean/tmpl/control-textarea.php
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control_Radio' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-radio-image.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/attesa-extra/panel/classes/importers/class-customizer-option.php:11
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-image.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-color.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-textarea.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/attesa-extra/metabox/hooks.php:53
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-parent.php:21
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-checkboxes.php:20
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Control_Textarea' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/controls/class-control-excerpt.php:21
- > PHP Fatal error
Uncaught Error: Class 'ButterBean_Setting' not found in wp-content/plugins/attesa-extra/metabox/butterbean/inc/settings/class-setting-multiple.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Attesa Extra Meta Boxes), #2 (Import demo content)
attesa-extra/attesa-extra.php Passed 13 tests
Analyzing the main PHP file in "Attesa Extra" version 1.3.8
45 characters long description:
Add extra features to Attesa WordPress Theme.
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
Good job! No executable or dangerous file extensions detected17,716 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 1,957 | 3,479 | 13,930 |
JavaScript | 15 | 601 | 847 | 1,790 |
CSS | 26 | 159 | 20 | 1,595 |
Markdown | 4 | 126 | 0 | 401 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 61 | 100.00% |
▷ Final classes | 6 | 9.84% |
Methods | 421 | |
▷ Static methods | 27 | 6.41% |
▷ Public methods | 368 | 87.41% |
▷ Protected methods | 36 | 8.55% |
▷ Private methods | 17 | 4.04% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 compressed PNG files occupy 0.39MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
panel/assets/img/pro-features/related-posts.png | 15.71KB | 16.42KB | 0.00% |
panel/assets/img/pro-features/share-buttons.png | 14.42KB | 15.18KB | 0.00% |
panel/assets/img/pro-features/custom-sidebars.png | 15.43KB | 15.94KB | 0.00% |
screenshot-2.png | 158.61KB | 171.53KB | 0.00% |
panel/assets/img/attesa-icon-70-70.png | 0.41KB | 0.41KB | 0.00% |