Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.10ms] Passed 4 tests
A check of server-side resources used by Product Feature Request
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 39.97 ▲1.22 |
Dashboard /wp-admin | 3.54 ▲0.20 | 46.32 ▼12.18 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 47.03 ▲0.35 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 90.33 ▼4.18 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 34.51 ▼0.38 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Product Feature Request
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 13.59 ▼0.99 | 6.35 ▲4.62 | 45.94 ▲5.44 |
Dashboard /wp-admin | 2,209 ▲24 | 4.88 ▼1.02 | 111.12 ▲6.15 | 42.20 ▲2.27 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.04 | 39.52 ▲0.46 | 37.04 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 18.04 ▼5.13 | 594.42 ▼94.65 | 50.57 ▲2.84 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▼0.05 | 94.58 ▼2.06 | 41.56 ▼7.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
2 plugin tags: feature requests, idea collector
product-feature-request/product-feature-request.php 92% from 13 tests
The main PHP script in "Product Feature Request" version 1.2.1 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "6")
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
Success! There were no dangerous files found in this plugin1,579 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 172 | 371 | 1,160 |
JavaScript | 2 | 35 | 0 | 201 |
CSS | 3 | 46 | 13 | 199 |
PO File | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 24.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 22 | 29.73% |
▷ Public methods | 66 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.81% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.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 were not PNG files found in your plugin