Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.95ms] Passed 4 tests
Server-side resources used by Pricing Tables Free
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 44.10 ▲1.37 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.39 ▼0.48 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.99 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 89.15 ▼16.20 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.49 ▼0.48 |
Add New /wp-admin/post-new.php?post_type=wpt | 3.37 | 41.36 |
KPT Free /wp-admin/edit.php?post_type=wpt | 3.41 | 36.10 |
Help & Support /wp-admin/edit.php?post_type=wpt&page=wpt_settings | 3.33 | 31.29 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pricing Tables Free
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲231 | 13.99 ▼0.32 | 5.55 ▲3.66 | 45.87 ▲3.09 |
Dashboard /wp-admin | 2,242 ▲54 | 5.13 ▼0.75 | 110.05 ▲8.93 | 80.54 ▲43.75 |
Posts /wp-admin/edit.php | 2,139 ▲47 | 2.30 ▲0.28 | 41.70 ▼1.25 | 35.24 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 23.07 ▲4.80 | 633.16 ▲12.68 | 34.58 ▼30.28 |
Media Library /wp-admin/upload.php | 1,439 ▲54 | 4.47 ▲0.27 | 102.27 ▼5.21 | 75.48 ▲30.02 |
Add New /wp-admin/post-new.php?post_type=wpt | 1,935 | 3.00 | 53.13 | 76.78 |
KPT Free /wp-admin/edit.php?post_type=wpt | 1,103 | 2.26 | 33.25 | 32.74 |
Help & Support /wp-admin/edit.php?post_type=wpt&page=wpt_settings | 1,393 | 9.29 | 277.13 | 72.74 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 33 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Warning in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+242
Cannot assign an empty string to a string offset
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+244
Uninitialized string offset: 1
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+244
Uninitialized string offset: 2
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+244
Uninitialized string offset: 3
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 13
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 23
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 33
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 14
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 24
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 34
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 15
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 25
- > GET request to /wp-admin/post-new.php?post_type=wpt
- > Notice in wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php+249
Uninitialized string offset: 35
SRP 0% 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/kento-pricing-table-free/kpt-admin.php
- > /wp-content/plugins/kento-pricing-table-free/kento-pricing-table-free.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kento-pricing-table-free/libs/post-types/kpt-post-type.php:31
- > 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 fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=wpt&page=wpt_settings
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=wpt&page=wpt_settings 152 is not supported. Use , https://goo.gl/ximf56
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: free pricing table, pricing table plugin, pricing tables, price table, responsive pricing table...
kento-pricing-table-free/kento-pricing-table-free.php 92% from 13 tests
This is the main PHP file of "Pricing Tables Free" version 2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,245 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 108 | 32 | 725 |
CSS | 4 | 65 | 9 | 495 |
JavaScript | 1 | 3 | 2 | 25 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 15 | |
▷ Named functions | 15 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/kento-pricing-table-pro.png | 88.62KB | 40.42KB | ▼ 54.39% |
themes/default/cross-red.png | 3.05KB | 0.35KB | ▼ 88.36% |
css/star.png | 3.32KB | 0.63KB | ▼ 81.05% |
themes/default/item-cross.png | 0.38KB | 0.37KB | ▼ 3.31% |
css/item-cross.png | 0.38KB | 0.37KB | ▼ 3.31% |