Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.53MB] [CPU: ▼0.09ms] 75% from 4 tests
A check of server-side resources used by Pricing Table - Price Table, Price list, Easy Pricing Table
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 623.21ms on /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 41.16 ▲4.59 |
Dashboard /wp-admin | 3.87 ▲0.57 | 48.13 ▼5.90 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 49.36 ▼1.47 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 102.23 ▲12.64 |
Media Library /wp-admin/upload.php | 3.73 ▲0.51 | 38.77 ▲2.44 |
All Pricing Table /wp-admin/edit.php?post_type=abc-pricing | 3.74 | 37.22 |
Our Plugins /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page | 3.93 | 623.21 |
Add Pricing Table /wp-admin/post-new.php?post_type=abc-pricing | 4.11 | 51.40 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.80 | 38.82 |
Server storage [IO: ▲5.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 81 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pricing Table - Price Table, Price list, Easy Pricing Table
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲204 | 13.39 ▼0.84 | 8.23 ▲6.47 | 37.55 ▼1.15 |
Dashboard /wp-admin | 2,267 ▲90 | 5.63 ▼0.00 | 91.53 ▼6.86 | 50.59 ▲9.34 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.02 ▲0.02 | 41.40 ▲0.05 | 41.60 ▲6.45 |
Add New Post /wp-admin/post-new.php | 1,586 ▲56 | 23.51 ▲0.34 | 593.97 ▼71.92 | 48.33 ▼15.27 |
Media Library /wp-admin/upload.php | 1,474 ▲77 | 4.24 ▲0.10 | 101.73 ▼6.84 | 47.50 ▲2.64 |
All Pricing Table /wp-admin/edit.php?post_type=abc-pricing | 1,159 | 1.99 | 37.08 | 38.31 |
Our Plugins /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page | 3,338 | 1.88 | 33.58 | 213.44 |
Add Pricing Table /wp-admin/post-new.php?post_type=abc-pricing | 4,351 | 4.81 | 158.58 | 210.39 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,076 | 2.03 | 28.41 | 30.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=abc-pricing
- > Notice in wp-content/plugins/abc-pricing-table/abc-pricing-table.php+82
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=abc-pricing
- > Notice in wp-content/plugins/abc-pricing-table/abc-pricing-table.php+82
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=tgmpa-install-plugins
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/abc-pricing-table/assets/css/template2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/abc-pricing-table/featured-plugins/featured-plugins.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/abc-pricing-table/assets/css/template1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/abc-pricing-table/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/abc-pricing-table/assets/css/template3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/abc-pricing-table/assets/css/template4.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page
- > Network (severe)
wp-content/plugins/abc-pricing-table/css/bootstrap.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page
- > Network (severe)
wp-content/plugins/abc-pricing-table/js/bootstrap.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page
- > Network (severe)
wp-content/plugins/abc-pricing-table/js/featured-plugins/acl-media-upload-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=abc-pricing&page=pricing-featured-plugins-page
- > Network (severe)
wp-content/plugins/abc-pricing-table/js/featured-plugins/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: price table, price, table, pricing table, pricing
abc-pricing-table/abc-pricing-table.php 92% from 13 tests
The principal PHP file in "Pricing Table - Price Table, Price list, Easy Pricing Table" v. 1.3.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin49,823 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 6,670 | 140 | 31,134 |
SVG | 5 | 0 | 0 | 10,489 |
PHP | 9 | 644 | 1,672 | 4,166 |
JavaScript | 8 | 60 | 48 | 2,713 |
PO File | 7 | 604 | 663 | 1,321 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 43.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 115 | |
▷ Static methods | 5 | 4.35% |
▷ Public methods | 90 | 78.26% |
▷ Protected methods | 25 | 21.74% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.24MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/img/set5.png | 38.00KB | 35.30KB | ▼ 7.11% |
include/img/set2.png | 35.65KB | 33.00KB | ▼ 7.43% |
include/img/set4.png | 32.65KB | 29.96KB | ▼ 8.24% |
include/img/2017-12-08_20-43-13.png | 7.88KB | 3.43KB | ▼ 56.42% |
include/img/3.png | 11.90KB | 9.05KB | ▼ 23.96% |