Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.23ms] Passed 4 tests
A check of server-side resources used by Dynamic Countdown with ACF and Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.71 ▼3.31 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.02 ▼17.08 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.66 ▼4.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.51 ▼19.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.35 ▼1.11 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Dynamic Countdown with ACF and Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.15 ▼0.19 | 1.69 ▼0.00 | 43.65 ▼0.40 |
Dashboard /wp-admin | 2,213 ▲36 | 5.58 ▼0.07 | 84.01 ▼4.43 | 78.21 ▲33.75 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▲0.03 | 35.36 ▼0.69 | 33.45 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.04 ▼0.55 | 759.25 ▲56.35 | 54.99 ▲4.41 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.24 ▲0.02 | 96.41 ▼3.41 | 70.32 ▲27.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamic-countdown-with-acf-and-elementor/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/dynamic-countdown-with-acf-and-elementor/dynamic-countdown-with-acf-elementor.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in dynamic-countdown-with-acf-and-elementor/assets to your readme.txt
dynamic-countdown-with-acf-and-elementor/dynamic-countdown-with-acf-elementor.php 69% from 13 tests
The primary PHP file in "Dynamic Countdown with ACF and Elementor" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 159 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dynamic-countdown-with-acf-and-elementor.php" instead of "dynamic-countdown-with-acf-elementor.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
Success! There were no dangerous files found in this plugin54 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 26 | 54 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon1.png | 0.69KB | 0.89KB | 0.00% |