Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.20ms] Passed 4 tests
Server-side resources used by fatture.help for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.93 ▼5.04 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.62 ▼1.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.12 ▲1.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.75 ▼16.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.36 ▼2.00 |
Server storage [IO: ▲3.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for fatture.help for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.35 ▲0.00 | 1.46 ▼0.03 | 35.73 ▼3.34 |
Dashboard /wp-admin | 2,197 ▲17 | 5.52 ▼0.10 | 81.82 ▼4.91 | 37.53 ▼1.68 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.01 ▼0.01 | 38.42 ▲4.38 | 35.11 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 25.46 ▲2.30 | 589.90 ▼64.88 | 76.05 ▲11.42 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.21 ▲0.04 | 102.68 ▼0.45 | 46.47 ▼2.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in fatture-help-wc/assets to your readme.txt
fatture-help-wc/fatture-help-wc.php Passed 13 tests
The entry point to "fatture.help for WooCommerce" version 1.1.21 is a PHP file that has certain tags in its header comment area
69 characters long description:
Utilizza fatture.help per generare fatture per gli ordini completati.
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 plugin17,151 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 4 | 9,321 |
PHP | 8 | 350 | 240 | 4,344 |
CSS | 2 | 1,501 | 12 | 3,114 |
PO File | 1 | 121 | 191 | 372 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 79.14 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 232.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 185 | |
▷ Static methods | 3 | 1.62% |
▷ Public methods | 181 | 97.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.16% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/logo.png | 23.67KB | 2.44KB | ▼ 89.71% |