Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.39ms] Passed 4 tests
Analyzing server-side resources used by MsgSmartly By Digidopt
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.05 ▲1.72 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.47 ▼0.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.98 ▼2.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.98 ▼16.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.52 ▲1.63 |
MsgSmartly by Digidopt /wp-admin/options-general.php?page=msgsmartly | 3.20 | 30.10 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by MsgSmartly By Digidopt
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.44 | 5.66 ▲3.88 | 42.64 ▼3.21 |
Dashboard /wp-admin | 2,210 ▲22 | 5.78 ▼0.12 | 112.33 ▲13.52 | 42.60 ▲0.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 38.53 ▼2.73 | 36.25 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.26 ▲4.93 | 627.38 ▲11.48 | 60.49 ▲6.02 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.23 ▲0.04 | 96.04 ▼0.47 | 42.05 ▼0.40 |
MsgSmartly by Digidopt /wp-admin/options-general.php?page=msgsmartly | 1,167 | 2.03 | 24.54 | 26.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/msgsmartly-by-digidopt/index.php:252
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
msgsmartly-by-digidopt/index.php 85% from 13 tests
The primary PHP file in "MsgSmartly By Digidopt" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 156 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("msgsmartly-by-digidopt.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected239 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 15 | 227 |
CSS | 1 | 3 | 0 | 11 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.74 |
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 | 8 | |
▷ Named functions | 8 | 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
1 PNG file occupies 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 60.94KB | 42.13KB | ▼ 30.87% |