Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.34ms] Passed 4 tests
An overview of server-side resources used by TK Timestamp to Human Readable Date
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 44.65 ▲1.65 |
Dashboard /wp-admin | 3.50 ▲0.19 | 46.95 ▼4.84 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.83 ▼1.56 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.81 ▼3.54 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 38.44 ▲0.58 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for TK Timestamp to Human Readable Date
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲30 | 14.35 ▼0.02 | 2.05 ▼0.16 | 43.84 ▼0.36 |
Dashboard /wp-admin | 2,198 ▲18 | 5.58 ▼0.07 | 91.08 ▼9.12 | 39.71 ▲0.97 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.96 ▼0.02 | 37.21 ▼2.86 | 35.23 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.05 ▼0.48 | 630.09 ▼71.12 | 53.10 ▼1.18 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.23 ▲0.03 | 96.87 ▼14.56 | 42.30 ▼4.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please a description for screenshot #4 in tk-timestamp-to-human/assets to your readme.txt
tk-timestamp-to-human/tk-timestamp-to-human.php Passed 13 tests
"TK Timestamp to Human Readable Date" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
103 characters long description:
Given a timestamp (assumed in UTC), convert to a human-readable date format using PHP named time zones.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,200 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 339 | 896 | 1,192 |
CSS | 1 | 0 | 5 | 7 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 9.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 1 | 4.35% |
Methods | 115 | |
▷ Static methods | 18 | 15.65% |
▷ Public methods | 104 | 90.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 9.57% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.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
There were not PNG files found in your plugin