Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/day-spelled/day-spelled.php+35
Undefined variable: wp_version
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.39ms] Passed 4 tests
Server-side resources used by Day Spelled
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 34.09 ▼11.27 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.18 ▼10.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.44 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.70 ▼2.36 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.07 ▲0.82 |
Day Spelled /wp-admin/options-general.php?page=lf-day-spelled-adm | 3.22 | 29.25 |
Server storage [IO: ▲0.08MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Day Spelled
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.26 ▼1.39 | 1.63 ▼0.35 | 40.88 ▼3.54 |
Dashboard /wp-admin | 2,213 ▲22 | 4.84 ▼0.06 | 96.09 ▼21.16 | 39.51 ▼8.18 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.01 | 38.83 ▲1.97 | 35.83 ▼3.61 |
Add New Post /wp-admin/post-new.php | 1,517 ▼6 | 17.87 ▼5.32 | 593.99 ▼74.37 | 61.57 ▲7.57 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.29 ▲0.12 | 92.99 ▼11.70 | 42.37 ▼2.69 |
Day Spelled /wp-admin/options-general.php?page=lf-day-spelled-adm | 964 | 2.02 | 24.01 | 25.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=lf-day-spelled-adm
- > Notice in wp-content/plugins/day-spelled/day-spelled-help.php+20
Undefined variable: des
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/day-spelled/day-spelled-help.php:226
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/day-spelled/localization.php:10
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: spell day, insert date, day name, current date, translate date...
day-spelled/day-spelled.php 92% from 13 tests
The main PHP script in "Day Spelled" version 1.6 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
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
Good job! No executable or dangerous file extensions detected745 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 114 | 115 | 419 |
PHP | 5 | 14 | 38 | 326 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
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 | 15 | |
▷ Named functions | 15 | 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
PNG images were not found in this plugin