Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.93ms] Passed 4 tests
This is a short check of server-side resources used by Easy Timer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.24 ▲4.39 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.04 ▼1.23 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.10 ▼5.05 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.62 ▼9.51 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.64 ▲4.06 |
Easy Timer /wp-admin/options-general.php?page=easy-timer | 3.31 | 31.67 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
easy_timer |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Timer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.32 ▼0.07 | 1.70 ▲0.07 | 42.24 ▲0.84 |
Dashboard /wp-admin | 2,196 ▲19 | 5.54 ▼0.05 | 84.36 ▼4.27 | 36.47 ▼9.52 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.01 | 34.14 ▼2.69 | 37.51 ▲1.35 |
Add New Post /wp-admin/post-new.php | 6,250 ▲4,713 | 21.00 ▲2.73 | 871.28 ▲222.23 | 69.64 ▼1.16 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▼0.03 | 99.19 ▼1.85 | 44.11 ▲2.47 |
Easy Timer /wp-admin/options-general.php?page=easy-timer | 936 | 2.00 | 24.97 | 29.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- easy_timer
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-timer/includes/index.php
- > /wp-content/plugins/easy-timer/languages/index.php
- > /wp-content/plugins/easy-timer/libraries/index.php
- > /wp-content/plugins/easy-timer/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #2 in easy-timer/assets to your readme.txt
easy-timer/easy-timer.php 92% from 13 tests
The principal PHP file in "Easy Timer" v. 4.2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,940 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 412 | 472 | 1,543 |
JavaScript | 1 | 72 | 0 | 242 |
PO File | 1 | 63 | 0 | 155 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 66 | |
▷ Named functions | 62 | 93.94% |
▷ Anonymous functions | 4 | 6.06% |
Constants | 9 | |
▷ Global constants | 9 | 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
There were not PNG files found in your plugin