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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.95ms] Passed 4 tests
Server-side resources used by TeYlos Pricing Table Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.47 ▼1.64 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.73 ▼7.93 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.23 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.80 ▼28.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.12 ▼0.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by TeYlos Pricing Table Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.11 ▼0.14 | 1.69 ▼0.01 | 43.67 ▼2.13 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.05 | 100.93 ▲7.17 | 42.94 ▼1.96 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.00 ▲0.03 | 34.13 ▼2.52 | 35.27 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.21 ▲0.18 | 644.84 ▼27.74 | 68.25 ▲2.92 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.03 | 104.67 ▼14.75 | 49.90 ▲1.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in teylos-pricing-table-woocommerce/assets to your readme.txt
teylos-pricing-table-woocommerce/teylos-pricing-table-woocommerce.php Passed 13 tests
The main PHP script in "TeYlos Pricing Table Woocommerce" version 1.1 is automatically included on every request by WordPress
60 characters long description:
Build the woocommerce product like pricing table in frontend
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin520 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 102 | 25 | 381 |
CSS | 1 | 0 | 0 | 96 |
JavaScript | 2 | 20 | 3 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bg-selectbox.png | 2.81KB | 0.17KB | ▼ 93.82% |
images/teylos_solo.png | 1.80KB | 1.58KB | ▼ 12.39% |