Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.68ms] Passed 4 tests
An overview of server-side resources used by SaasPricing - Ultimate Pricing & Comparison Table Widget For Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.10 ▼0.85 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.60 ▼2.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.88 ▲1.75 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.36 ▼11.81 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.07 ▲0.21 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
SaasPricing - Ultimate Pricing & Comparison Table Widget For Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.25 ▼1.19 | 4.13 ▲2.32 | 39.89 ▼7.75 |
Dashboard /wp-admin | 2,227 ▲39 | 4.86 ▼0.03 | 97.82 ▼17.24 | 40.31 ▼3.05 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.06 ▲0.06 | 37.40 ▼1.31 | 34.58 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 23.35 ▲0.28 | 683.32 ▲0.27 | 57.83 ▼0.18 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.36 ▲0.20 | 95.77 ▼6.73 | 43.82 ▼0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: elementor pricing, comparison table, elementor table, price table
saaspricing/saaspricing.php 92% from 13 tests
"SaasPricing - Ultimate Pricing & Comparison Table Widget For Elementor" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 211 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin11,933 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 1,006 | 114 | 10,758 |
CSS | 5 | 194 | 18 | 1,059 |
JavaScript | 7 | 30 | 15 | 116 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 138)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 73.75 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 8.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 138.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 39 | |
▷ Static methods | 1 | 2.56% |
▷ Public methods | 30 | 76.92% |
▷ Protected methods | 6 | 15.38% |
▷ Private methods | 3 | 7.69% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin