Benchmarks
Plugin footprint Passed 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.16MB] [CPU: ▼297.54ms] Passed 4 tests
Server-side resources used by IND Pricing Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.24 | 69.31 ▲13.26 |
Dashboard /wp-admin | 3.59 ▲0.19 | 37.04 ▼0.76 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 43.09 ▲3.14 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.09 | 93.10 ▼1,178.21 |
Media Library /wp-admin/upload.php | 3.47 ▲0.17 | 30.50 ▼14.33 |
All Tables /wp-admin/edit.php?post_type=indtable | 3.58 | 33.76 |
Create New Table /wp-admin/post-new.php?post_type=indtable | 3.75 | 42.06 |
Documentation /wp-admin/edit.php?post_type=indtable&page=documentation | 3.44 | 25.18 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for IND Pricing Table
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,828 ▲74 | 15.93 ▲0.31 | 6.36 ▲0.65 | 2.01 ▼0.37 |
Dashboard /wp-admin | 2,932 ▲71 | 6.22 ▲0.02 | 119.83 ▼22.42 | 187.90 ▼28.31 |
Posts /wp-admin/edit.php | 2,731 ▲37 | 3.25 ▲0.02 | 63.91 ▲0.55 | 141.80 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,780 ▲63 | 21.34 ▲0.10 | 409.96 ▼63.49 | 232.42 ▲76.22 |
Media Library /wp-admin/upload.php | 1,735 ▲37 | 5.57 ▲0.03 | 131.31 ▼15.30 | 253.51 ▲61.19 |
All Tables /wp-admin/edit.php?post_type=indtable | 1,417 | 3.09 | 60.36 | 115.49 |
Create New Table /wp-admin/post-new.php?post_type=indtable | 1,878 | 2.69 | 84.98 | 215.09 |
Documentation /wp-admin/edit.php?post_type=indtable&page=documentation | 1,004 | 2.37 | 84.53 | 135.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ind-css3-pricing-table/ind_css3_table.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ind-css3-pricing-table/css/indstyle.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ind-css3-pricing-table/css/colmcolrs.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=indtable
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'webkit')" "TypeError: Cannot read properties of undefined (reading 'webkit')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ind-css3-pricing-table/js/indajax.js?ver=5.9.2:4:15)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- > GET request to /wp-admin/post-new.php?post_type=indtable
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31702 Uncaught TypeError: Cannot read properties of undefined (reading 'webkit')
- > GET request to /wp-admin/post-new.php?post_type=indtable
- > Network (severe)
http://affiliate.godaddy.com/ads/5F32D796F9C1C466894900A90CFE414D519C0720095A6640533B73A806A12B17E00E194D24F108E4286847090203A72011C6D6F6B0570844030A383F7B806FD8 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== ind-css3-pricing-table ===
)
ind-css3-pricing-table/ind_css3_table.php 92% from 13 tests
"IND Pricing Table" version 2.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("ind-css3-pricing-table.php" instead of "ind_css3_table.php")
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
Success! There were no dangerous files found in this plugin1,659 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 137 | 77 | 1,328 |
CSS | 2 | 62 | 29 | 203 |
JavaScript | 1 | 15 | 8 | 128 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/table.png | 1.35KB | 0.53KB | ▼ 60.52% |