Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.88ms] Passed 4 tests
A check of server-side resources used by Automatic Post Date Filler
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.41 ▼4.43 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.57 ▼6.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.78 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.56 ▼3.82 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.60 ▲1.31 |
Automatic Post Date Filler /wp-admin/options-general.php?page=automatic-post-date-filler | 3.23 | 42.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Automatic Post Date Filler
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.12 ▼1.26 | 4.72 ▲2.79 | 42.76 ▲0.06 |
Dashboard /wp-admin | 2,218 ▲30 | 4.95 ▲0.09 | 109.32 ▲5.70 | 41.10 ▲0.31 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.01 ▼0.13 | 39.64 ▲2.33 | 36.44 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 23.07 ▼0.29 | 621.19 ▼63.62 | 57.22 ▼2.28 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.25 ▲0.01 | 96.25 ▼15.26 | 41.22 ▼4.16 |
Automatic Post Date Filler /wp-admin/options-general.php?page=automatic-post-date-filler | 1,150 | 1.84 | 26.90 | 42.43 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
automatic-post-date-filler/automatic-post-date-filler.php Passed 13 tests
The primary PHP file in "Automatic Post Date Filler" version 1.2 is used by WordPress to initiate all plugin functionality
59 characters long description:
Automatically sets custom date and time when editing posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin856 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 176 | 189 | 832 |
CSS | 1 | 6 | 0 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 151.00 |
▷ Minimum class complexity | 151.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 30.77% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/sprite-icons.png | 1.27KB | 1.06KB | ▼ 16.28% |