Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.94ms] Passed 4 tests
This is a short check of server-side resources used by Catna - Woo Name Your Price and Offers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.62 ▼0.69 |
Dashboard /wp-admin | 3.34 ▲0.03 | 42.94 ▼6.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.11 ▲5.95 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.46 ▲0.41 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.99 ▲2.56 |
Server storage [IO: ▲3.63MB] [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: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Catna - Woo Name Your Price and Offers
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.18 ▼0.18 | 1.76 ▲0.12 | 48.78 ▲3.68 |
Dashboard /wp-admin | 2,200 ▲20 | 5.49 ▼0.17 | 90.47 ▲1.56 | 39.86 ▲0.04 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.98 ▼0.02 | 40.91 ▲4.59 | 38.71 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.37 ▲0.28 | 668.59 ▼23.17 | 58.04 ▲1.71 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.28 ▲0.09 | 95.26 ▲0.57 | 46.96 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: ecommerce, name your price for woocommerce, bargain, woocommerce, smart offers...
catna-woo-name-your-price-and-offers/catna-woo-name-your-price-and-offers.php Passed 13 tests
"Catna - Woo Name Your Price and Offers" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
128 characters long description:
Catna - Woo Name Your Price and Offers allows customers to purchase products at their optional price matched the conditions set.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin10,695 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 95 | 115 | 3,977 |
SVG | 3 | 0 | 12 | 3,792 |
JavaScript | 11 | 80 | 65 | 1,687 |
CSS | 23 | 226 | 159 | 1,177 |
Sass | 1 | 17 | 0 | 62 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 44.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 6.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 18 | 17.82% |
▷ Public methods | 95 | 94.06% |
▷ Protected methods | 4 | 3.96% |
▷ Private methods | 2 | 1.98% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/images/nyp_on_product_list.png | 70.63KB | 23.01KB | ▼ 67.42% |