Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.07ms] Passed 4 tests
Server-side resources used by Bulk Datetime Change
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 38.35 ▼3.16 |
Dashboard /wp-admin | 3.51 ▲0.20 | 48.56 ▲0.62 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 45.88 ▲5.33 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 78.83 ▼17.22 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.84 ▲3.48 |
Bulk Datetime Change /wp-admin/admin.php?page=bulkdatetimechange | 3.45 | 38.74 |
Settings /wp-admin/admin.php?page=bulkdatetimechange-settings | 3.41 | 30.10 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Bulk Datetime Change: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.35 ▲0.00 | 1.68 ▼0.13 | 44.85 ▲1.55 |
Dashboard /wp-admin | 2,222 ▲41 | 5.55 ▼0.06 | 86.68 ▼13.78 | 44.18 ▼0.79 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.00 ▲0.03 | 32.74 ▼8.26 | 33.83 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.15 ▲0.03 | 656.03 ▲43.54 | 56.12 ▲5.18 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.16 ▲0.00 | 99.02 ▲1.34 | 41.54 ▲0.71 |
Bulk Datetime Change /wp-admin/admin.php?page=bulkdatetimechange | 3,437 | 2.62 | 48.11 | 27.72 |
Settings /wp-admin/admin.php?page=bulkdatetimechange-settings | 998 | 2.24 | 28.20 | 25.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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-datetime-change/lib/class-bulkdatetimechange.php:50
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-screen.php): failed to open stream: No such file or directory in wp-content/plugins/bulk-datetime-change/lib/class-tt-bulkdatetimechange-list-table.php on line 26
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/bulk-datetime-change/lib/class-tt-bulkdatetimechange-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-datetime-change/lib/class-bulkdatetimechangeadmin.php:36
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-datetime-change/lib/class-tt-bulkdatetimechange-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-datetime-change/lib/class-bulkdatetimechange.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: time, date, media, pages, posts
bulk-datetime-change/bulkdatetimechange.php 92% from 13 tests
The main PHP script in "Bulk Datetime Change" version 1.16 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("bulk-datetime-change.php" instead of "bulkdatetimechange.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
No dangerous file extensions were detected2,800 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 187 | 77 | 1,282 |
PHP | 5 | 126 | 328 | 1,151 |
CSS | 2 | 9 | 1 | 367 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 53.33 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 7.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.67% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
There were not PNG files found in your plugin