90% wp-count-down-timer

Code Review | WP Count Down Timer

WordPress plugin WP Count Down Timer scored90%from 54 tests.

About plugin

  • Plugin page: wp-count-down-timer
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.3
  • WordPress version: 6.3.1
  • First release: Dec 13, 2019
  • Latest release: Dec 16, 2019
  • Number of updates: 11
  • Update frequency: every 0.3 days
  • Top authors: sitedin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /883 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.81ms] Passed 4 tests

This is a short check of server-side resources used by WP Count Down Timer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.29 ▲1.53
Dashboard /wp-admin3.31 ▲0.0150.10 ▼2.64
Posts /wp-admin/edit.php3.37 ▲0.0048.69 ▼1.43
Add New Post /wp-admin/post-new.php5.90 ▲0.0085.82 ▼20.63
Media Library /wp-admin/upload.php3.24 ▲0.0037.02 ▼2.54

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by WP Count Down Timer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.45 ▲0.081.79 ▲0.2047.20 ▲4.67
Dashboard /wp-admin2,195 ▲305.64 ▲0.0487.91 ▼3.3342.23 ▼1.02
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0135.85 ▼0.7533.24 ▼2.11
Add New Post /wp-admin/post-new.php1,526 ▼223.22 ▲0.14691.43 ▼63.8156.80 ▲5.52
Media Library /wp-admin/upload.php1,400 ▲34.19 ▼0.01100.83 ▼2.2148.20 ▲3.58

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: time, count down, timer, countdown

wp-count-down-timer/wp-count-down-timer.php Passed 13 tests

The main PHP file in "WP Count Down Timer" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
104 characters long description:
Countdown timer to a specified date. A simple plugin with a shortcode that makes it super simple to use.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin33 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1132733

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected