Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.48ms] Passed 4 tests
Analyzing server-side resources used by WP Reading Progress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.33 ▲3.91 |
Dashboard /wp-admin | 3.38 ▲0.07 | 43.48 ▼11.05 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 47.35 ▲1.69 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.13 ▼1.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.75 ▲0.78 |
WP Reading Progress /wp-admin/options-general.php?page=wp-reading-progress | 3.27 | 32.30 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
ruigehond006 |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Reading Progress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.62 ▼0.88 | 2.06 ▲0.47 | 43.23 ▲5.22 |
Dashboard /wp-admin | 2,205 ▲31 | 5.81 ▲0.23 | 97.82 ▲9.63 | 43.55 ▲2.98 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.29 ▲0.27 | 39.23 ▲4.28 | 35.18 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,541 ▲5 | 18.08 ▼0.14 | 603.82 ▼43.80 | 44.73 ▼20.27 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.50 ▲0.27 | 96.07 ▼5.57 | 43.48 ▼4.64 |
WP Reading Progress /wp-admin/options-general.php?page=wp-reading-progress | 1,040 | 2.33 | 49.32 | 35.49 |
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 detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: reading, progressbar, progress
wp-reading-progress/wp-reading-progress.php Passed 13 tests
The primary PHP file in "WP Reading Progress" version 1.5.3 is used by WordPress to initiate all plugin functionality
118 characters long description:
Light weight customizable reading progress bar. Great UX on longreads! Customize under Settings -> WP Reading Progress
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
Everything looks great! No dangerous files found in this plugin379 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 57 | 311 |
PO File | 1 | 19 | 19 | 60 |
JavaScript | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 18 | |
▷ Named functions | 15 | 83.33% |
▷ Anonymous functions | 3 | 16.67% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin