Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.65ms] Passed 4 tests
A check of server-side resources used by Print Flyers Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.37 ▼3.57 |
Dashboard /wp-admin | 3.42 ▲0.11 | 54.86 ▲1.67 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.96 ▲2.19 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 89.29 ▼11.70 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.77 ▼0.98 |
Print Flyers Lite /wp-admin/options-general.php?page=printflyers_lite_options_handle | 3.32 | 35.24 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Print Flyers Lite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲210 | 15.18 ▲0.98 | 1.80 ▼0.19 | 44.78 ▼3.47 |
Dashboard /wp-admin | 2,348 ▲160 | 6.61 ▲0.73 | 126.06 ▲11.16 | 44.36 ▼9.31 |
Posts /wp-admin/edit.php | 2,257 ▲168 | 3.53 ▲1.51 | 45.37 ▲11.12 | 31.90 ▼6.33 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 17.93 ▲0.48 | 571.44 ▼105.62 | 33.27 ▼24.46 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.17 ▼0.03 | 81.32 ▼20.75 | 44.56 ▼1.40 |
Print Flyers Lite /wp-admin/options-general.php?page=printflyers_lite_options_handle | 1,017 | 3.12 | 38.82 | 65.89 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/print-flyers-lite/html-print.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 27 tag instead of maximum 10
print-flyers-lite/print-flyers-lite.php Passed 13 tests
The main file in "Print Flyers Lite" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
97 characters long description:
WooCommerce extension to create printer-friendly product pages with tailored headers and footers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected927 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 198 | 80 | 596 |
PO File | 1 | 60 | 76 | 158 |
CSS | 1 | 37 | 11 | 116 |
JavaScript | 1 | 4 | 8 | 57 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/default-printer-icon.png | 0.67KB | 0.44KB | ▼ 35.36% |
assets/icon.png | 4.98KB | 2.32KB | ▼ 53.41% |