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
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.93ms] Passed 4 tests
An overview of server-side resources used by EDD Quaderno
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 25.10 ▼12.22 |
Dashboard /wp-admin | 3.61 ▲0.31 | 48.32 ▲3.54 |
Posts /wp-admin/edit.php | 3.67 ▲0.30 | 52.25 ▲5.12 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 80.90 ▼8.38 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 36.20 ▲1.35 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by EDD Quaderno
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼296 | 14.32 ▼0.23 | 0.48 ▼1.01 | 16.27 ▼27.42 |
Dashboard /wp-admin | 2,206 ▲32 | 5.57 ▼0.01 | 80.41 ▼5.01 | 39.22 ▼5.89 |
Posts /wp-admin/edit.php | 2,111 ▲29 | 1.97 ▼0.04 | 41.23 ▲5.29 | 39.15 ▲3.09 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.44 ▲0.01 | 584.01 ▼90.45 | 67.84 ▲5.08 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.20 ▼0.00 | 97.10 ▼2.47 | 46.75 ▲2.69 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'QuadernoDocument' not found in wp-content/plugins/edd-quaderno/quaderno/quaderno_credit.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
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:
- Tags: There are too many tags (18 tag instead of maximum 10)
edd-quaderno/edd-quaderno.php Passed 13 tests
The main PHP script in "EDD Quaderno" version 1.35.1 is automatically included on every request by WordPress
114 characters long description:
Automatically send customizable sales receipts and invoices with every order in your Easy Digital Downloads store.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,516 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 307 | 628 | 1,246 |
PO File | 2 | 132 | 257 | 229 |
JavaScript | 2 | 5 | 1 | 41 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 5.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 3 | 23.08% |
▷ Concrete classes | 10 | 76.92% |
▷ Final classes | 1 | 10.00% |
Methods | 44 | |
▷ Static methods | 4 | 9.09% |
▷ Public methods | 34 | 77.27% |
▷ Protected methods | 5 | 11.36% |
▷ Private methods | 5 | 11.36% |
Functions | 41 | |
▷ Named functions | 41 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin