Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼139.94ms] Passed 4 tests
Server-side resources used by Recurring Daily Countdown
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 40.06 ▲12.20 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.32 ▲1.14 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 47.62 ▲4.55 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 94.27 ▼566.06 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.80 ▲0.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Recurring Daily Countdown
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,706 ▲110 | 15.96 ▲0.02 | 7.38 ▼2.84 | 44.29 ▼7.00 |
Dashboard /wp-admin | 3,012 ▲81 | 5.96 ▲0.03 | 144.46 ▼6.77 | 120.67 ▲7.06 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.70 ▲0.01 | 67.92 ▲2.38 | 101.74 ▲9.25 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.77 ▲0.06 | 372.97 ▼8.85 | 108.58 ▲0.70 |
Media Library /wp-admin/upload.php | 1,827 ▲17 | 5.02 ▲0.02 | 157.75 ▲5.62 | 128.04 ▲4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/recurring-daily-countdown/recurring-daily-countdown.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/recurring-daily-countdown/menu/layout.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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: recurring countdown, recurring daily countdown, countdown, daily countdown
recurring-daily-countdown/recurring-daily-countdown.php Passed 13 tests
Analyzing the main PHP file in "Recurring Daily Countdown" version 1.0.0
63 characters long description:
Recurring countdown that run countdown, daily for a fixed time.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected132 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 27 | 12 | 103 |
JavaScript | 1 | 13 | 10 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin