Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.75ms] Passed 4 tests
Server-side resources used by deal or announcement with countdown timer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.56 ▲3.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.55 ▼0.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.79 ▼2.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.61 ▼9.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.41 ▲0.76 |
Deal with countdown /wp-admin/options-general.php?page=deal-with-countdown | 3.29 | 32.49 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 13 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_gCountdown |
New WordPress options |
---|
deal_or_announcement_with_countdown_timer_title |
deal_or_announcement_with_countdown_timer_text_color |
can_compress_scripts |
deal_or_announcement_with_countdown_timer_text_align |
widget_theysaidso_widget |
deal_or_announcement_with_countdown_timer_caption |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
deal_or_announcement_with_countdown_timer_timer_color |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for deal or announcement with countdown timer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.14 ▼1.24 | 2.60 ▲0.94 | 46.44 ▲4.11 |
Dashboard /wp-admin | 2,213 ▲22 | 4.81 ▼0.07 | 108.48 ▲6.46 | 46.81 ▲3.41 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.05 | 34.97 ▼1.66 | 31.19 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.73 ▲0.23 | 618.27 ▼60.75 | 65.87 ▲7.46 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.15 ▼0.12 | 99.16 ▼7.87 | 42.98 ▼3.62 |
Deal with countdown /wp-admin/options-general.php?page=deal-with-countdown | 877 | 2.03 | 23.32 | 24.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/deal-or-announcement-with-countdown-timer/pages/content-management-show.php
- > /wp-content/plugins/deal-or-announcement-with-countdown-timer/deal-or-announcement-with-countdown-timer.php
- > /wp-content/plugins/deal-or-announcement-with-countdown-timer/pages/widget-setting.php
- > /wp-content/plugins/deal-or-announcement-with-countdown-timer/pages/content-management-edit.php
- > /wp-content/plugins/deal-or-announcement-with-countdown-timer/pages/content-management-add.php
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: offers, widget, announcement, countdown, deal...
deal-or-announcement-with-countdown-timer/deal-or-announcement-with-countdown-timer.php Passed 13 tests
"deal or announcement with countdown timer" version 10.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
This plugin will display your announcement with countdown timer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,178 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 33 | 821 |
PO File | 2 | 108 | 170 | 245 |
JavaScript | 2 | 10 | 18 | 112 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin