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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.99ms] Passed 4 tests
A check of server-side resources used by Helpdesk for tech and design needs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 43.66 ▼9.38 |
Dashboard /wp-admin | 3.37 ▼0.02 | 49.84 ▼12.50 |
Posts /wp-admin/edit.php | 3.42 ▲0.02 | 50.98 ▼4.26 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 89.31 ▼21.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 32.65 ▼2.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
support_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Helpdesk for tech and design needs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.71 ▲0.30 | 2.21 ▲0.44 | 46.32 ▲7.28 |
Dashboard /wp-admin | 2,210 ▲33 | 5.56 ▲0.02 | 85.47 ▼3.51 | 72.49 ▲27.82 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.03 ▼0.01 | 37.60 ▼4.39 | 33.80 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.09 ▼0.13 | 735.61 ▲52.77 | 65.59 ▲8.85 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.15 ▼0.03 | 99.48 ▼13.49 | 73.03 ▲25.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- support_db_version
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-support-by-theitoons/theitoonsplugin.php:121
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-support-by-theitoons ===
) - Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-support-by-theitoons/theitoonsplugin.php 85% from 13 tests
The primary PHP file in "Helpdesk for tech and design needs" version 2.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 245 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-support-by-theitoons.php" instead of "theitoonsplugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin109 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 144 | 66 | 79 |
CSS | 1 | 6 | 0 | 24 |
JavaScript | 1 | 6 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.59KB | 0.63KB | 0.00% |
patron-button.png | 6.50KB | 6.98KB | 0.00% |