Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.66ms] Passed 4 tests
An overview of server-side resources used by Ramadan Countdown
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.94 ▼5.31 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.67 ▼1.57 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.06 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.62 ▼11.94 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.35 ▲2.79 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_rdcd_timetable |
widget_recent-comments |
widget_rdcd_countdown |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ramadan Countdown
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.38 | 1.68 ▼0.37 | 43.80 ▼5.11 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.09 | 107.83 ▼1.85 | 41.54 ▼0.21 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.03 | 40.49 ▼2.85 | 35.34 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.41 ▼5.88 | 692.79 ▲61.90 | 66.79 ▲16.67 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.23 ▼0.04 | 98.00 ▼6.42 | 42.30 ▼7.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- widget_rdcd_countdown
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_rdcd_timetable
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ramadan-countdown/ramadan-countdown.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: countdown, timetable, seheri time, ramadan, iftar time
ramadan-countdown/ramadan-countdown.php 92% from 13 tests
The primary PHP file in "Ramadan Countdown" version 2.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.7.1" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin291 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 25 | 120 |
JavaScript | 2 | 25 | 12 | 109 |
Sass | 1 | 1 | 0 | 61 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin