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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.06ms] Passed 4 tests
Analyzing server-side resources used by Easy Peasy Digital Downloads — Sell Digital Products, Subscriptions, and Licenses with Lemon Squeezy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 35.49 ▼5.88 |
Dashboard /wp-admin | 3.49 ▲0.14 | 47.72 ▼13.54 |
Posts /wp-admin/edit.php | 3.61 ▲0.24 | 50.12 ▲2.36 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.21 | 85.88 ▼8.33 |
Media Library /wp-admin/upload.php | 3.42 ▲0.18 | 34.32 ▼0.48 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Peasy Digital Downloads — Sell Digital Products, Subscriptions, and Licenses with Lemon Squeezy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲48 | 14.22 ▼0.16 | 1.73 ▼0.15 | 39.77 ▼2.77 |
Dashboard /wp-admin | 2,221 ▲40 | 5.51 ▼0.16 | 93.52 ▼15.24 | 84.12 ▲38.45 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.96 ▲0.01 | 40.57 ▲0.05 | 34.92 ▼2.18 |
Add New Post /wp-admin/post-new.php | 6,392 ▲4,866 | 28.58 ▲5.54 | 940.86 ▲289.83 | 53.64 ▼10.05 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.18 ▲0.03 | 94.03 ▼8.28 | 75.07 ▲29.56 |
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
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- License uri: Please fix this invalid URI: "[https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)"
- Donate link: Please fix this invalid URI: "[https://lemonsqueezy.com](https://lemonsqueezy.com/)"
lemon-squeezy/lemonsqueezy.php 85% from 13 tests
The primary PHP file in "Easy Peasy Digital Downloads — Sell Digital Products, Subscriptions, and Licenses with Lemon Squeezy" version 1.3.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("lemon-squeezy.php" instead of "lemonsqueezy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,869 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 108 | 32 | 1,359 |
PHP | 9 | 177 | 234 | 992 |
Sass | 14 | 76 | 16 | 425 |
JSON | 2 | 0 | 0 | 55 |
SVG | 2 | 0 | 0 | 24 |
XML | 1 | 6 | 5 | 12 |
CSS | 3 | 3 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.40 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 4 | 11.11% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 2 | 5.56% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 1 | 10.00% |
▷ Anonymous functions | 9 | 90.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin