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.01MB] [CPU: ▼296.07ms] Passed 4 tests
An overview of server-side resources used by danixland CountDown
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 54.84 ▼0.80 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.34 ▼0.93 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 42.87 ▲3.95 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.22 ▼1,174.56 |
Media Library /wp-admin/upload.php | 3.31 ▲0.00 | 23.23 ▼7.99 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 4 new options
New WordPress options |
---|
dnxcd_use_style |
dnxcd_widget_link |
widget_dnx-countdown |
dnxcd_future_date |
Browser metrics Passed 4 tests
This is an overview of browser requirements for danixland CountDown
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲23 | 15.91 ▼0.14 | 5.86 ▲0.16 | 2.18 ▼0.07 |
Dashboard /wp-admin | 2,892 ▲31 | 6.12 ▼0.11 | 115.16 ▼19.35 | 153.07 ▼11.57 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.25 ▲0.01 | 66.26 ▲3.32 | 138.15 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,661 ▼90 | 16.08 ▼4.90 | 412.95 ▼26.68 | 153.21 ▼1.44 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▲0.02 | 141.19 ▲8.28 | 185.42 ▼1.92 |
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 1 option in the database
- widget_dnx-countdown
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/danixland-countdown/danixland-countdown.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: sidebar, countdown, widget
danixland-countdown/danixland-countdown.php 92% from 13 tests
Analyzing the main PHP file in "danixland CountDown" version 0.4
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin163 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 68 | 99 |
CSS | 1 | 3 | 0 | 64 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin