Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.28ms] Passed 4 tests
This is a short check of server-side resources used by Devgirl Countdown Clock
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.59 ▲0.80 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.50 ▼7.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.59 ▼1.53 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.45 ▼14.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 35.26 ▼1.24 |
Devgirl Countdown Clock /wp-admin/options-general.php?page=devgirl-countdown-clock | 3.22 | 28.91 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Devgirl Countdown Clock
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.30 ▼0.15 | 2.17 ▼0.01 | 43.55 ▼2.14 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.10 | 86.85 ▼16.87 | 40.66 ▼5.39 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.03 ▲0.02 | 36.39 ▼1.44 | 34.69 ▼7.80 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.31 ▲5.70 | 667.68 ▲23.87 | 55.65 ▲9.05 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▼0.02 | 100.81 ▲3.02 | 43.07 ▲3.00 |
Devgirl Countdown Clock /wp-admin/options-general.php?page=devgirl-countdown-clock | 949 | 2.30 | 22.37 | 29.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/devgirl-countdown-clock/includes/admin-menu.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/devgirl-countdown-clock/includes/admin-menu.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: countdown timer, countdown clock, event launches, time limit
devgirl-countdown-clock/devgirl-countdown-clock.php Passed 13 tests
"Devgirl Countdown Clock" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
112 characters long description:
The simple countdown clock is used to countdown to a date and time of your choosing using a Wordpress shortcode.
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
Everything looks great! No dangerous files found in this plugin430 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 54 | 12 | 156 |
PHP | 2 | 133 | 32 | 134 |
CSS | 2 | 54 | 4 | 105 |
JavaScript | 1 | 12 | 0 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin