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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.34ms] Passed 4 tests
Server-side resources used by Ninja Countdown | Fastest Countdown Builder ( With Elementor Widget )
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.55 ▼5.72 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.74 ▼17.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.13 ▼1.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.22 ▼16.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.99 ▲1.73 |
Server storage [IO: ▲1.21MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Ninja Countdown | Fastest Countdown Builder ( With Elementor Widget ): an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.29 ▼0.34 | 1.69 ▲0.03 | 44.67 ▲0.71 |
Dashboard /wp-admin | 2,247 ▲70 | 5.64 ▲0.09 | 90.06 ▼12.12 | 40.46 ▼4.71 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.01 ▲0.00 | 40.42 ▲2.54 | 36.87 ▲2.51 |
Add New Post /wp-admin/post-new.php | 1,568 ▲37 | 23.45 ▲0.29 | 602.90 ▼52.23 | 53.54 ▲0.40 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.27 ▼0.03 | 99.51 ▼2.54 | 42.06 ▼0.10 |
All Countdowns /wp-admin/admin.php?page=ninjacountdown#/ | 1,055 | 3.95 | 103.50 | 33.39 |
Support /wp-admin/admin.php?page=ninjacountdown#/support | 983 | 3.49 | 88.08 | 35.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 0% 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ninja-countdown/app/Views/Admin/AdminView.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ninja-countdown/app/Views/Frontend/CountdownTimer.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% 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
7 plugin tags: countdown, elementor, elementor countdown addon, elementor addon, elementor countdown timer widget...
ninja-countdown/ninja-countdown.php 92% from 13 tests
"Ninja Countdown | Fastest Countdown Builder ( With Elementor Widget )" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin997 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 136 | 99 | 944 |
CSS | 2 | 7 | 0 | 41 |
JSON | 1 | 0 | 0 | 8 |
JavaScript | 4 | 0 | 1 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 39 | 92.86% |
▷ Protected methods | 3 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
6 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/countdowns/new_year.png | 6.19KB | 6.27KB | 0.00% |
public/images/support/support.png | 15.43KB | 0.97KB | ▼ 93.72% |
public/images/support/heart.png | 17.45KB | 1.61KB | ▼ 90.77% |
public/images/countdowns/special_offer.png | 3.82KB | 3.63KB | ▼ 4.95% |
public/images/support/bug.png | 16.00KB | 1.53KB | ▼ 90.44% |