Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.32MB] [CPU: ▼14.26ms] Passed 4 tests
Server-side resources used by Total Reading Time of WP Post
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 32.16 ▼6.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.76 ▲1.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.38 ▲2.90 |
Add New Post /wp-admin/post-new.php | 4.61 ▼1.28 | 37.88 ▼54.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.57 ▲6.14 |
Total reading time /wp-admin/options-general.php?page=trtwp_setting | 3.20 | 32.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Total Reading Time of WP Post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,690 ▼56 | 13.33 ▼0.91 | 0.95 ▼0.88 | 19.82 ▼24.98 |
Dashboard /wp-admin | 2,213 ▲22 | 5.89 ▼0.00 | 108.92 ▲5.55 | 43.00 ▼1.89 |
Posts /wp-admin/edit.php | 2,096 ▲21 | 1.97 ▼0.05 | 39.54 ▲1.73 | 37.53 ▲1.82 |
Add New Post /wp-admin/post-new.php | 45 ▼1,469 | 0.44 ▼17.13 | 0.07 ▼685.90 | 9.04 ▼42.83 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.26 ▲0.04 | 111.15 ▲13.54 | 65.78 ▲23.70 |
Total reading time /wp-admin/options-general.php?page=trtwp_setting | 792 | 2.02 | 24.69 | 26.49 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- recovery_mode_email_last_sent
- theysaidso_admin_options
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/total-reading-time-of-wp-post/total-reading-time.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: total-reading-time, wp-posts
total-reading-time-of-wp-post/total-reading-time.php 77% from 13 tests
The principal PHP file in "Total Reading Time of WP Post" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("total-reading-time-of-wp-post.php" instead of "total-reading-time.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected43 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 12 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 7 | |
▷ Named functions | 7 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected