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 gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.91ms] Passed 4 tests
Analyzing server-side resources used by Jipink for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.89 ▼6.68 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.37 ▼19.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.26 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.80 ▼16.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.14 ▼1.37 |
Ajustes /wp-admin/admin.php?page=wc-jipink-settings | 3.00 | 23.84 |
Ayuda /wp-admin/admin.php?page=wc-jipink-help | 3.00 | 21.96 |
Logs /wp-admin/admin.php?page=wc-jipink-logs | 3.00 | 22.05 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jipink for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.36 | 1.68 ▼0.21 | 41.32 ▼1.46 |
Dashboard /wp-admin | 2,198 ▲17 | 5.62 ▲0.03 | 93.45 ▼10.08 | 40.99 ▼0.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 38.73 ▼0.07 | 35.90 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.05 ▲0.03 | 659.90 ▼9.35 | 54.94 ▼10.15 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.21 ▼0.04 | 106.88 ▲3.01 | 48.16 ▲2.66 |
Ajustes /wp-admin/admin.php?page=wc-jipink-settings | 28 | 0.42 | 0.06 | 3.53 |
Ayuda /wp-admin/admin.php?page=wc-jipink-help | 28 | 0.42 | 0.08 | 3.47 |
Logs /wp-admin/admin.php?page=wc-jipink-logs | 28 | 0.42 | 0.06 | 3.99 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Fields\\Field' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/SelectField.php:5
- > PHP Fatal error
Trait 'Jipink\\Helper\oticesTrait' not found in wp-content/plugins/jipink-for-woocommerce/Helper/Helper.php on line 5
- > PHP Fatal error
Uncaught Error: Interface 'Jipink\\Settings\\Fields\\FieldInterface' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/Field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Fields\\Field' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/PasswordField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Fields\\Field' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/NumberField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Sections\\Section' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Configuration/Auth2Section.php:12
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Sections\\Section' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Configuration/DevelopSection.php:12
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Sections\\Section' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Configuration/Auth1Section.php:12
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Fields\\Field' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/TextField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jipink\\Settings\\Fields\\Field' not found in wp-content/plugins/jipink-for-woocommerce/Settings/Fields/DescriptionField.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wc-jipink-settings
- > Network (severe)
wp-admin/admin.php?page=wc-jipink-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wc-jipink-help
- > Network (severe)
wp-admin/admin.php?page=wc-jipink-help - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wc-jipink-logs
- > Network (severe)
wp-admin/admin.php?page=wc-jipink-logs - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Contributors: Plugin contributors field is missing
jipink-for-woocommerce/woo-jipink.php 85% from 13 tests
The primary PHP file in "Jipink for WooCommerce" version 2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jipink-for-woocommerce.php" instead of "woo-jipink.php")
- Requires at least: Required version does not match the one declared in readme.txt ("6.2" instead of "3.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,629 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 224 | 440 | 1,566 |
CSS | 1 | 7 | 0 | 59 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 2 | |
Traits | 6 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 5 | 21.74% |
Methods | 111 | |
▷ Static methods | 68 | 61.26% |
▷ Public methods | 101 | 90.99% |
▷ Protected methods | 1 | 0.90% |
▷ Private methods | 9 | 8.11% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 7.60KB | 3.14KB | ▼ 58.72% |