Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.64ms] Passed 4 tests
An overview of server-side resources used by product-support-now
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.07 ▼3.01 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.03 ▼3.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.68 ▼4.80 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.43 ▼19.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.30 ▼1.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for product-support-now
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.40 ▲0.02 | 1.80 ▲0.15 | 38.83 ▼3.87 |
Dashboard /wp-admin | 2,221 ▲39 | 5.83 ▲0.02 | 105.74 ▼6.65 | 82.08 ▲36.26 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▲0.02 | 36.93 ▼2.93 | 35.25 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,527 ▲6 | 17.64 ▼5.41 | 739.39 ▲53.44 | 55.76 ▼8.19 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.15 ▼0.03 | 110.53 ▲6.93 | 82.13 ▲33.99 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% 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
Please fix the following attributes:
- Tags: You are using too many tags: 13 tag instead of maximum 10
product-support-now/product-support-now.php 69% from 13 tests
This is the main PHP file of "product-support-now" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: The domain path should use only dashes and lowercase characters ("/")
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
- Domain Path: Prefix the domain path with a forward slash character ("//")
- Requires at least: Required version does not match the one declared in readme.txt ("4.6" instead of "4.7")
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
Success! There were no dangerous files found in this plugin397 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 83 | 51 | 366 |
CSS | 1 | 2 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wmn-icon.png | 0.93KB | 0.89KB | ▼ 4.30% |