Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.57ms] Passed 4 tests
This is a short check of server-side resources used by Klementin Infinite Shopping For Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.01 ▼6.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.07 ▼2.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.00 ▼2.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.89 ▼6.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.00 ▲2.56 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Klementin Infinite Shopping For Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.18 ▼1.46 | 1.88 ▼0.14 | 43.36 ▼3.75 |
Dashboard /wp-admin | 2,203 ▲15 | 4.86 ▼1.13 | 109.21 ▲7.94 | 41.65 ▼2.12 |
Posts /wp-admin/edit.php | 2,068 ▼21 | 2.00 ▼0.03 | 39.53 ▲3.28 | 34.30 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.31 ▲0.06 | 626.52 ▼22.56 | 67.76 ▲9.51 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.05 | 95.53 ▼6.38 | 40.84 ▲0.05 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Klementin_wp' not found in wp-content/plugins/klementin-woo-infinite-shopping/vendor/klementinweb/klementin-wp/src/init.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: cart, woocommerce, checkout
klementin-woo-infinite-shopping/klementin-infinite-shopping-for-woocommerce.php 92% from 13 tests
The entry point to "Klementin Infinite Shopping For Woocommerce" version 1.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("klementin-woo-infinite-shopping.php" instead of "klementin-infinite-shopping-for-woocommerce.php")
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 detected1,891 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 265 | 467 | 967 |
JSON | 3 | 0 | 0 | 796 |
JavaScript | 4 | 18 | 8 | 74 |
CSS | 2 | 15 | 0 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 12.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 34 | 36.56% |
▷ Public methods | 89 | 95.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.30% |
Functions | 13 | |
▷ Named functions | 3 | 23.08% |
▷ Anonymous functions | 10 | 76.92% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin