Benchmarks
Plugin footprint Passed 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.03MB] [CPU: ▼298.20ms] Passed 4 tests
A check of server-side resources used by Genesis Countdown
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.04 | 48.61 ▼2.44 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.96 ▼2.89 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.59 ▼0.55 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 91.08 ▼1,183.29 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.07 ▼4.19 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Countdown
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,196 ▼548 | 15.87 ▲0.09 | 0.33 ▼5.98 | 31.98 ▲29.83 |
Dashboard /wp-admin | 2,903 ▲45 | 6.41 ▲0.25 | 119.92 ▼11.49 | 153.99 ▼9.10 |
Posts /wp-admin/edit.php | 2,703 ▲18 | 3.27 ▲0.03 | 64.88 ▲1.81 | 145.62 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,702 ▼71 | 19.75 ▼2.34 | 400.01 ▼64.29 | 152.26 ▼14.81 |
Media Library /wp-admin/upload.php | 1,705 ▲4 | 5.61 ▲0.10 | 139.92 ▼8.44 | 188.58 ▲4.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpstudio-countdown/inc/gcd-frontend.php
- > /wp-content/plugins/wpstudio-countdown/inc/class-gcd-settings.php
- > /wp-content/plugins/wpstudio-countdown/inc/class-gcd-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Countdown plugin integrated in theme), #2 (Countdown plugin default styling), #3 (Countdown plugin admin panel)
wpstudio-countdown/genesis-countdown.php 92% from 13 tests
The main PHP file in "Genesis Countdown" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpstudio-countdown.php" instead of "genesis-countdown.php")
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 plugin847 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 42 | 66 | 433 |
JavaScript | 3 | 0 | 42 | 220 |
PHP | 5 | 80 | 136 | 194 |
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.12 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 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 were not PNG files found in your plugin