Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.68ms] Passed 4 tests
An overview of server-side resources used by Automatic Page Load Progress Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 44.94 ▲2.36 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.10 ▼3.29 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.72 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.96 ▼16.65 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.83 ▲0.79 |
Automatic Page Load Progress Bar /wp-admin/options-general.php?page=aplpb | 3.22 | 31.60 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-posts |
aplpb_option_checkbox_page |
widget_recent-comments |
aplpb_option_theme |
widget_theysaidso_widget |
aplpb_option_query_mobile |
aplpb_option_color |
aplpb_option_query_desktop |
aplpb_option_query_tablet |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Automatic Page Load Progress Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.37 ▼0.01 | 8.14 ▲6.24 | 51.75 ▲4.60 |
Dashboard /wp-admin | 2,198 ▲18 | 5.56 ▼0.12 | 88.12 ▼12.51 | 39.73 ▼3.97 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.01 | 39.73 ▼2.01 | 35.65 ▼3.30 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.11 ▼0.18 | 668.51 ▲30.22 | 54.97 ▲0.77 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.06 | 100.25 ▼4.57 | 44.36 ▼1.84 |
Automatic Page Load Progress Bar /wp-admin/options-general.php?page=aplpb | 965 | 2.00 | 26.04 | 27.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 14 options in the database
- aplpb_option_checkbox_custom
- aplpb_option_checkbox_page
- aplpb_option_query_tablet
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- aplpb_option_query_mobile
- widget_recent-posts
- aplpb_option_checkbox_post
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=aplpb
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=aplpb
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/automatic-page-load-progress-bar/automatic-page-load-progress-bar.php:216
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Invalid url: ""
automatic-page-load-progress-bar/automatic-page-load-progress-bar.php Passed 13 tests
The main file in "Automatic Page Load Progress Bar" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
Light and efficient extension to add a progress bar in less than a minute.
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
Good job! No executable or dangerous file extensions detected189 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 20 | 177 |
CSS | 11 | 0 | 0 | 11 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin