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 gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼8.57ms] Passed 4 tests
A check of server-side resources used by T(-) Countdown
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.50 ▲0.12 |
Dashboard /wp-admin | 3.48 ▲0.13 | 46.87 ▼13.04 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 70.57 ▲13.93 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 90.26 ▼17.16 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.21 ▼4.19 |
T(-) Countdown /wp-admin/options-general.php?page=t-countdown | 3.37 | 30.56 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
T(-) Countdown: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲142 | 13.59 ▼1.02 | 5.21 ▲3.30 | 39.98 ▼3.49 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼1.16 | 108.41 ▼7.45 | 40.45 ▼6.90 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.06 ▲0.06 | 39.44 ▲3.66 | 35.51 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6,210 ▲4,691 | 26.28 ▲3.16 | 868.81 ▲202.49 | 38.12 ▼18.09 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.29 ▲0.06 | 94.91 ▼5.18 | 41.50 ▼2.43 |
T(-) Countdown /wp-admin/options-general.php?page=t-countdown | 1,164 | 2.20 | 24.37 | 33.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 get_option() in wp-content/plugins/t-countdown/t-countdown.php:528
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tested up to: Invalid plugin version format
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #13, #14, #2, #3, #4, #5, #6, #7, #8, #9 in t-countdown/assets to your readme.txt
- Tags: There are too many tags (16 tag instead of maximum 10)
t-countdown/t-countdown.php Passed 13 tests
"T(-) Countdown" version 2.4.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
129 characters long description:
Display and configure multiple countdown timers in years, months, weeks, days, hours and seconds in a number of different styles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,206 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 74 | 30 | 819 |
PHP | 1 | 120 | 76 | 785 |
JavaScript | 3 | 100 | 94 | 562 |
Markdown | 1 | 9 | 0 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 93.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 6.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 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 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/carbonite-responsive/images/bg_carbon.png | 1.02KB | 0.18KB | ▼ 81.98% |
css/carbonlite/images/bg_countdown.png | 4.26KB | 2.60KB | ▼ 38.93% |
css/carbonite/images/bg_countdown.png | 6.10KB | 4.28KB | ▼ 29.72% |