Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.26MB] [CPU: ▲1,063.89ms] 50% from 4 tests
This is a short check of server-side resources used by Unik – Ultimate Pricing Table
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,196.52ms on /wp-admin/post-new.php?post_type=jwt_unik_pricing)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 1,063.89ms on /wp-admin/post-new.php?post_type=jwt_unik_pricing)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 637.68 ▲596.84 |
Dashboard /wp-admin | 3.64 ▲0.34 | 1,476.34 ▲1,432.52 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 1,207.06 ▲1,165.79 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 1,356.72 ▲1,265.16 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 1,262.68 ▲1,227.77 |
Unik Pricing /wp-admin/edit.php?post_type=jwt_unik_pricing | 3.52 | 1,264.39 |
Recommended /wp-admin/options-general.php?page=unik-ultimate-pricing-table-recommended-plugins | 3.45 | 1,249.08 |
Add New /wp-admin/post-new.php?post_type=jwt_unik_pricing | 3.54 | 1,196.52 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 110 new files
Database: no new tables, 13 new options
New WordPress options |
---|
jltunik_activation_time |
unik_ultimate_pricing_table_version |
jltunik_sheet_promo_data_hash |
jltunik_notice_subscribe |
widget_recent-posts |
can_compress_scripts |
jltunik_notice_what_we_collect |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Unik – Ultimate Pricing Table: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,084 ▲327 | 14.07 ▼0.50 | 7.79 ▲5.46 | 50.29 ▲1.24 |
Dashboard /wp-admin | 2,404 ▲213 | 4.93 ▼0.97 | 105.32 ▲3.63 | 38.45 ▼3.59 |
Posts /wp-admin/edit.php | 2,213 ▲121 | 2.22 ▲0.22 | 36.32 ▼8.36 | 32.63 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,650 ▲108 | 21.16 ▲2.91 | 594.44 ▼7.86 | 33.43 ▼17.49 |
Media Library /wp-admin/upload.php | 1,506 ▲115 | 4.25 ▲0.01 | 95.25 ▼5.13 | 42.32 ▼5.75 |
Unik Pricing /wp-admin/edit.php?post_type=jwt_unik_pricing | 1,170 | 2.19 | 35.90 | 26.81 |
Recommended /wp-admin/options-general.php?page=unik-ultimate-pricing-table-recommended-plugins | 1,284 | 1.88 | 28.77 | 28.90 |
Add New /wp-admin/post-new.php?post_type=jwt_unik_pricing | 1,982 | 3.30 | 78.02 | 75.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 13 options in the database
- jltunik_notice_what_we_collect
- db_upgraded
- jltunik_notice_subscribe
- widget_recent-posts
- widget_theysaidso_widget
- jltunik_activation_time
- jltunik_notice_ask_for_rating
- jltunik_sheet_promo_data
- theysaidso_admin_options
- jltunik_sheet_promo_data_hash
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Libs\\RowLinks' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unik-ultimate-pricing-table/Libs/metabox/classes.fields.php:581
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/unik-ultimate-pricing-table/Libs/metabox/example-functions.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/unik-ultimate-pricing-table/unik-ultimate-pricing-table.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unik-ultimate-pricing-table/Libs/metabox/classes.fields.php:581
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Class 'JLTUNIK\\Libs\\Upgrader' not found in wp-content/plugins/unik-ultimate-pricing-table/Inc/Classes/Upgrade_Plugin.php:12
- > 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/options-general.php?page=unik-ultimate-pricing-table-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: free wordpress pricing table, flat pricing table, best free wordpress pricing table, wp pricing table, wordpress pricing table...
unik-ultimate-pricing-table/unik-ultimate-pricing-table.php 85% from 13 tests
The primary PHP file in "Unik – Ultimate Pricing Table" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
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 plugin12,877 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,529 | 1,816 | 4,531 |
CSS | 18 | 412 | 162 | 3,735 |
JavaScript | 11 | 729 | 475 | 2,922 |
SVG | 2 | 0 | 0 | 1,657 |
PO File | 1 | 8 | 10 | 32 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 50 | |
▷ Abstract classes | 5 | 10.00% |
▷ Concrete classes | 45 | 90.00% |
▷ Final classes | 1 | 2.22% |
Methods | 292 | |
▷ Static methods | 34 | 11.64% |
▷ Public methods | 285 | 97.60% |
▷ Protected methods | 2 | 0.68% |
▷ Private methods | 5 | 1.71% |
Functions | 18 | |
▷ Named functions | 14 | 77.78% |
▷ Anonymous functions | 4 | 22.22% |
Constants | 19 | |
▷ Global constants | 18 | 94.74% |
▷ Class constants | 1 | 5.26% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 0.36MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) Libs/metabox/css/vendor/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.24KB | 0.00KB | ▼ 100.00% |
(invalid) Libs/metabox/css/vendor/jquery-ui/images/ui-icons_454545_256x240.png | 12.42KB | 0.00KB | ▼ 100.00% |
(invalid) Libs/metabox/css/vendor/jquery-ui/images/ui-icons_222222_256x240.png | 12.32KB | 0.00KB | ▼ 100.00% |
(invalid) Libs/metabox/images/cmb-icon-remove.png | 1.10KB | 0.00KB | ▼ 100.00% |
(invalid) Libs/metabox/css/vendor/jquery-ui/images/ui-icons_888888_256x240.png | 12.16KB | 0.00KB | ▼ 100.00% |