Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.64ms] Passed 4 tests
Server-side resources used by Easy Pricing Table WP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.33 ▼7.89 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.26 ▼0.75 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.70 ▲8.16 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.91 ▼13.97 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.54 ▲4.06 |
Add Pricing Table /wp-admin/post-new.php?post_type=easy-pricing | 3.53 | 43.44 |
All Pricing Table /wp-admin/edit.php?post_type=easy-pricing | 3.32 | 34.37 |
Server storage [IO: ▲3.67MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Pricing Table WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲58 | 14.37 ▲0.15 | 1.62 ▲0.01 | 39.40 ▼4.05 |
Dashboard /wp-admin | 2,222 ▲45 | 5.68 ▲0.03 | 88.00 ▼8.46 | 41.22 ▼5.44 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 1.99 ▲0.04 | 39.30 ▲2.90 | 36.30 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 23.20 ▼0.38 | 596.43 ▼79.03 | 70.74 ▲20.51 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.18 ▼0.01 | 96.01 ▼6.35 | 42.95 ▼1.23 |
Add Pricing Table /wp-admin/post-new.php?post_type=easy-pricing | 3,642 | 4.19 | 140.57 | 101.59 |
All Pricing Table /wp-admin/edit.php?post_type=easy-pricing | 1,099 | 1.95 | 34.47 | 31.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=easy-pricing
- > Notice in wp-content/plugins/easy-pricing-table-wp/easy-pricing-table.php+70
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=easy-pricing
- > Notice in wp-content/plugins/easy-pricing-table-wp/easy-pricing-table.php+70
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=easy-pricing
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
easy-pricing-table-wp/easy-pricing-table.php 85% from 13 tests
The main PHP script in "Easy Pricing Table WP" version 1.0.4 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-pricing-table-wp.php" instead of "easy-pricing-table.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
Good job! No executable or dangerous file extensions detected23,580 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 1,563 | 44 | 10,899 |
SVG | 3 | 0 | 0 | 9,546 |
PHP | 11 | 277 | 73 | 2,259 |
JavaScript | 6 | 53 | 33 | 876 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 2 | 13.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/1.png | 11.97KB | 6.42KB | ▼ 46.31% |
assets/img/2.png | 19.86KB | 8.14KB | ▼ 59.02% |
assets/img/4.png | 28.68KB | 9.36KB | ▼ 67.36% |
assets/img/3.png | 20.18KB | 7.07KB | ▼ 64.95% |