Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.38ms] Passed 4 tests
This is a short check of server-side resources used by Indemandly
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.53 ▼2.28 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.82 ▼1.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.26 ▼1.66 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.28 ▼21.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.07 ▼3.62 |
Indemandly /wp-admin/options-general.php?page=indemandly/wp-indemandly-options.php | 3.19 | 28.15 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Indemandly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 14.98 ▲0.39 | 42.80 ▲41.14 | 42.24 ▲2.27 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.06 | 103.02 ▲1.04 | 38.79 ▼1.22 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▲0.01 | 35.43 ▼5.38 | 33.10 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.45 ▲0.31 | 683.88 ▲4.09 | 67.95 ▲13.68 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.21 ▼0.09 | 101.54 ▼9.99 | 44.00 ▼5.03 |
Indemandly /wp-admin/options-general.php?page=indemandly/wp-indemandly-options.php | 797 | 2.03 | 22.93 | 28.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=indemandly/wp-indemandly-options.php
- > Notice in wp-content/plugins/indemandly/wp-indemandly-options.php+73
Undefined index: submit
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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/indemandly/wp-indemandly.php
- > /wp-content/plugins/indemandly/wp-indemandly-add.php
- > /wp-content/plugins/indemandly/wp-indemandly-options.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
indemandly/wp-indemandly.php 85% from 13 tests
"Indemandly" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("indemandly.php" instead of "wp-indemandly.php")
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
There were no executable files found in this plugin173 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 14 | 173 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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
There were not PNG files found in your plugin