Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.74ms] Passed 4 tests
Server-side resources used by Dynamic Time
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.14 ▼8.38 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.00 ▼0.67 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.77 ▼1.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.46 ▼20.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.36 ▲1.13 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_time_user |
wp_time_period |
wp_time_entry |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
dyt_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Dynamic Time
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲76 | 14.73 ▲0.03 | 1.75 ▲0.13 | 43.83 ▲2.55 |
Dashboard /wp-admin | 2,231 ▲60 | 5.60 ▼0.02 | 100.74 ▼1.10 | 43.43 ▲1.39 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.99 ▼0.02 | 40.10 ▲0.10 | 37.26 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.05 ▼0.09 | 651.06 ▼45.76 | 53.95 ▲0.83 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.29 ▲0.07 | 95.94 ▼11.51 | 41.20 ▼4.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_time_user
- wp_time_period
- wp_time_entry
- Zombie WordPress options detected upon uninstall: 7 options
- dyt_db_version
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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 items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/dynamic-time/time_load_entries.php:31
- > PHP Notice
Undefined variable: entries in wp-content/plugins/dynamic-time/time_load_entries.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #3 in dynamic-time/assets to your readme.txt
dynamic-time/time_functions.php 92% from 13 tests
The main PHP script in "Dynamic Time" version 5.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dynamic-time.php" instead of "time_functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,545 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 161 | 88 | 1,543 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 6.12KB | 6.43KB | 0.00% |
assets/DynamicTime.png | 0.93KB | 0.96KB | 0.00% |