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.04MB] [CPU: ▼11.85ms] Passed 4 tests
A check of server-side resources used by Lore Owl SubCat for WC
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.69 ▼8.25 |
Dashboard /wp-admin | 3.36 ▲0.01 | 50.70 ▼15.61 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.75 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.05 ▼23.05 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.02 ▲3.59 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Lore Owl SubCat for WC
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲156 | 13.58 ▼0.72 | 8.25 ▲6.27 | 41.69 ▼2.44 |
Dashboard /wp-admin | 2,222 ▲31 | 5.88 ▲0.97 | 104.17 ▼13.75 | 38.59 ▼5.58 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.04 ▲0.00 | 39.30 ▲0.05 | 34.60 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 18.49 ▼4.69 | 597.75 ▼89.70 | 66.69 ▲1.31 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.14 ▼0.05 | 96.13 ▼2.11 | 43.57 ▼0.84 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/lore-owl-subcat-for-wc/lore-owl-subcat-for-wc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: woocommerce, subcategories, owl, carousel, categories...
lore-owl-subcat-for-wc/lore-owl-subcat-for-wc.php Passed 13 tests
The entry point to "Lore Owl SubCat for WC" version 1.0.1 is a PHP file that has certain tags in its header comment area
82 characters long description:
Show an Owl carousel of WooCommerce subcategories outside WooCommerce archive loop
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected242 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 47 | 31 | 238 |
CSS | 2 | 0 | 10 | 2 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin