Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.34ms] Passed 4 tests
An overview of server-side resources used by Display Multiple Countdown
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.25 ▼2.47 |
Dashboard /wp-admin | 3.33 ▲0.02 | 58.04 ▲3.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.15 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.99 ▼2.77 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.06 ▲2.17 |
Multi CountDown /wp-admin/tools.php?page=JCDC_add_menu_page | 3.23 | 31.78 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Display Multiple Countdown
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.26 ▼0.02 | 2.26 ▲0.60 | 44.73 ▼1.05 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.05 | 88.21 ▼9.10 | 43.50 ▲0.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 35.04 ▼0.04 | 33.05 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.17 ▼0.37 | 688.59 ▼29.39 | 58.13 ▼5.35 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.04 | 97.79 ▼7.79 | 44.08 ▼3.53 |
Multi CountDown /wp-admin/tools.php?page=JCDC_add_menu_page | 2,383 | 2.16 | 44.39 | 42.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Please 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 plugin_basename() in wp-content/plugins/display-multiple-countdown/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: multipal countdown in a page, countdown in post, multipal countdown, countdown
display-multiple-countdown/index.php 85% from 13 tests
"Display Multiple Countdown" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("display-multiple-countdown.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected215 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 35 | 18 | 157 |
CSS | 1 | 5 | 0 | 50 |
JavaScript | 1 | 2 | 21 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.26MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 70.91KB | 34.96KB | ▼ 50.69% |
(invalid) assets/icon-128x128.png | 8.14KB | 0.00KB | ▼ 100.00% |
assets/screenshot-3.png | 19.03KB | 8.80KB | ▼ 53.76% |
(invalid) assets/icon-256x256.png | 16.63KB | 0.00KB | ▼ 100.00% |
(invalid) assets/banner-1544X500.png | 54.97KB | 0.00KB | ▼ 100.00% |