Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼17.49ms] Passed 4 tests
This is a short check of server-side resources used by jQuery T(-) Countdown Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 36.03 ▼7.38 |
Dashboard /wp-admin | 3.49 ▲0.14 | 44.90 ▼15.09 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 47.89 ▼0.46 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 91.48 ▼47.01 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.35 ▲2.62 |
jQuery T(-) Countdown Widget /wp-admin/options-general.php?page=t-countdown | 3.38 | 32.03 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_countdowntimer |
Browser metrics Passed 4 tests
Checking browser requirements for jQuery T(-) Countdown Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲158 | 13.78 ▼0.50 | 8.48 ▲6.68 | 38.51 ▼7.72 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▼0.00 | 92.33 ▲0.31 | 40.23 ▲2.07 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.03 | 39.07 ▼2.75 | 37.33 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 20.97 ▼4.34 | 653.85 ▲39.83 | 57.61 ▼5.16 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.04 | 93.61 ▼0.04 | 41.01 ▼0.98 |
jQuery T(-) Countdown Widget /wp-admin/options-general.php?page=t-countdown | 1,071 | 2.00 | 31.43 | 28.45 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_countdowntimer
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 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/jquery-t-countdown-widget/countdown-timer.php:374
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6 in jquery-t-countdown-widget/assets to your readme.txt
jquery-t-countdown-widget/countdown-timer.php 92% from 13 tests
This is the main PHP file of "jQuery T(-) Countdown Widget" version 2.3.25, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("jquery-t-countdown-widget.php" instead of "countdown-timer.php")
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
Good job! No executable or dangerous file extensions detected2,026 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 97 | 34 | 1,023 |
PHP | 1 | 111 | 80 | 812 |
JavaScript | 3 | 41 | 84 | 191 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/jedi/images/light_bg_dash.png | 1.62KB | 1.86KB | 0.00% |
css/darth/images/dark_bg_dash.png | 0.64KB | 0.51KB | ▼ 20.09% |
css/carbonite/images/bg_trip_dash.png | 1.00KB | 1.15KB | 0.00% |
css/carbonite-responsive/images/bg_carbon.png | 1.02KB | 0.18KB | ▼ 81.98% |
admin/images/arrow-down.png | 0.45KB | 0.30KB | ▼ 32.46% |