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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼2.43ms] Passed 4 tests
Analyzing server-side resources used by Woo Title Limit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 34.84 ▼1.74 |
Dashboard /wp-admin | 3.61 ▲0.31 | 49.91 ▲3.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 49.79 ▲3.83 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 80.39 ▼15.14 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 37.82 ▲4.29 |
Woo Title Limit /wp-admin/options-general.php?page=woo-title-limit | 3.45 | 34.91 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wtl_opt_product |
wtl_opt_tag |
wtl_opt_shop |
theysaidso_admin_options |
wtl_opt_category |
widget_recent-comments |
db_upgraded |
wtl_opt_home |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Woo Title Limit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,079 ▲318 | 15.03 ▲0.44 | 5.01 ▲3.56 | 39.34 ▼1.89 |
Dashboard /wp-admin | 2,374 ▲194 | 6.30 ▲0.67 | 104.99 ▲15.68 | 39.93 ▼4.38 |
Posts /wp-admin/edit.php | 2,306 ▲209 | 3.52 ▲1.56 | 50.30 ▲14.48 | 32.52 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,558 ▲23 | 23.27 ▲4.85 | 657.40 ▲6.82 | 36.91 ▼59.71 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.30 ▲0.09 | 80.93 ▼17.06 | 43.33 ▲0.57 |
Woo Title Limit /wp-admin/options-general.php?page=woo-title-limit | 1,339 | 3.51 | 46.62 | 45.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-title-limit/admin/partials/woo-title-limit-admin-display.php
- > /wp-content/plugins/woo-title-limit/public/partials/woo-title-limit-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: shop, woocommerce, limit, length, product title...
woo-title-limit/woo-title-limit.php 92% from 13 tests
The main PHP script in "Woo Title Limit" version 2.0.3 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,035 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 308 | 898 | 945 |
PO File | 1 | 34 | 64 | 70 |
CSS | 2 | 1 | 8 | 14 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 2 | 3.28% |
▷ Public methods | 56 | 91.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.20% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin