Benchmarks
Plugin footprint 65% 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.51MB] [CPU: ▼38.87ms] Passed 4 tests
A check of server-side resources used by Pricex Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 30.53 ▼13.10 |
Dashboard /wp-admin | 3.43 ▲0.13 | 23.59 ▼26.81 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 23.65 ▼26.44 |
Add New Post /wp-admin/post-new.php | 3.43 ▼2.45 | 20.93 ▼83.76 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 24.88 ▼18.46 |
Settings /wp-admin/admin.php?page=pricex-setting-admin | 3.43 | 21.65 |
Categories /wp-admin/edit-tags.php?taxonomy=pricex_categories&post_type=pricex_pricing | 3.44 | 23.11 |
All PriceX /wp-admin/edit.php?post_type=pricex_pricing | 3.44 | 25.91 |
Add New /wp-admin/post-new.php?post_type=pricex_pricing | 3.43 | 23.78 |
Recommended Plugins /wp-admin/admin.php?page=pricex-recommended-plugin | 3.43 | 21.83 |
Server storage [IO: ▲4.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 391 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Pricex Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,024 ▲263 | 13.62 ▼0.74 | 10.45 ▲8.70 | 57.56 ▲13.83 |
Dashboard /wp-admin | 2,277 ▲106 | 5.86 ▲0.21 | 90.83 ▼10.16 | 41.44 ▼1.30 |
Posts /wp-admin/edit.php | 2,181 ▲84 | 2.30 ▲0.30 | 42.06 ▲4.03 | 36.04 ▼6.41 |
Add New Post /wp-admin/post-new.php | 1,590 ▲64 | 23.39 ▼0.09 | 620.54 ▼34.51 | 34.09 ▼15.57 |
Media Library /wp-admin/upload.php | 1,476 ▲85 | 4.39 ▲0.18 | 132.76 ▲32.41 | 48.51 ▲6.92 |
Settings /wp-admin/admin.php?page=pricex-setting-admin | 1,290 | 2.55 | 40.42 | 32.53 |
Categories /wp-admin/edit-tags.php?taxonomy=pricex_categories&post_type=pricex_pricing | 1,361 | 2.06 | 31.51 | 31.88 |
All PriceX /wp-admin/edit.php?post_type=pricex_pricing | 1,157 | 2.23 | 37.18 | 29.18 |
Add New /wp-admin/post-new.php?post_type=pricex_pricing | 1,588 | 2.73 | 54.54 | 32.61 |
Recommended Plugins /wp-admin/admin.php?page=pricex-recommended-plugin | 1,261 | 1.88 | 32.63 | 33.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/pricex-lite/inc/cmb2/includes/helper-functions.php+44
include_once(wp-content/plugins/pricex-lite/inc/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pricex-recommended-plugin
- > Warning in wp-content/plugins/pricex-lite/inc/cmb2/includes/helper-functions.php+44
include_once(wp-content/plugins/pricex-lite/inc/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pricex-recommended-plugin
- > Warning in wp-content/plugins/pricex-lite/inc/cmb2/includes/helper-functions.php+44
include_once(): Failed opening 'wp-content/plugins/pricex-lite/inc/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/php')
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pricex-recommended-plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pricex-lite/inc/pricex-config.php:69
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pricex-lite/inc/pricex-enqueue.php:3
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pricex-lite/inc/cpt.php:7
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/pricex-lite/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (/assets/screenshot-1.jpg), #2 (/assets/screenshot-2.jpg), #3 (/assets/screenshot-3.jpg), #4 (/assets/Screenshot_4.png)
- Requires php: Invalid plugin version format
pricex-lite/pricex-lite.php 85% from 13 tests
The main file in "Pricex Lite" v. 1.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected54,451 lines of code in 240 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 64 | 2,274 | 6,453 | 8,136 |
CSS | 23 | 366 | 1,363 | 5,417 |
JSON | 2 | 0 | 0 | 4,264 |
JavaScript | 10 | 367 | 606 | 1,484 |
Sass | 17 | 305 | 29 | 1,407 |
Markdown | 3 | 239 | 0 | 735 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 18.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 9 | 12.86% |
▷ Concrete classes | 61 | 87.14% |
▷ Final classes | 0 | 0.00% |
Methods | 555 | |
▷ Static methods | 93 | 16.76% |
▷ Public methods | 460 | 82.88% |
▷ Protected methods | 89 | 16.04% |
▷ Private methods | 6 | 1.08% |
Functions | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
inc/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
inc/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
inc/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |