Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.29ms] Passed 4 tests
A check of server-side resources used by Reading Time WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.84 ▼9.46 |
Dashboard /wp-admin | 3.35 ▲0.00 | 47.22 ▼19.14 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 50.19 ▼3.33 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 101.23 ▲6.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 33.63 ▼1.21 |
Reading Time WP /wp-admin/options-general.php?page=rt-reading-time-settings | 3.30 | 33.68 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
rt_reading_time_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Reading Time WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.28 ▼0.28 | 2.27 ▲0.41 | 50.37 ▲4.80 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▲0.04 | 87.00 ▼6.93 | 39.40 ▼0.09 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.08 | 38.72 ▼3.82 | 35.38 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 23.22 ▲5.08 | 634.65 ▲12.91 | 50.30 ▼10.40 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.02 | 100.15 ▼0.16 | 44.40 ▼0.71 |
Reading Time WP /wp-admin/options-general.php?page=rt-reading-time-settings | 906 | 1.99 | 23.52 | 31.15 |
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
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- rt_reading_time_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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 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 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (An example of an estimated reading time entered before "the_content".), #2 (The options available in Reading Time WP.)
reading-time-wp/rt-reading-time.php 92% from 13 tests
The main PHP script in "Reading Time WP" version 2.0.15 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("reading-time-wp.php" instead of "rt-reading-time.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
Everything looks great! No dangerous files found in this plugin369 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 157 | 273 |
PO File | 1 | 30 | 31 | 96 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin