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.01MB] [CPU: ▼4.39ms] Passed 4 tests
This is a short check of server-side resources used by Page Scroll Progress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 49.31 ▲6.37 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.47 ▼4.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.50 ▲2.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.85 ▼13.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.73 ▼1.37 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
page-scroll-progress-substrates-color |
widget_recent-posts |
db_upgraded |
page-scroll-progress-line-color |
page-scroll-progress-position |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Page Scroll Progress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲52 | 14.34 ▼0.02 | 2.25 ▲0.33 | 43.26 ▼2.21 |
Dashboard /wp-admin | 2,208 ▲31 | 5.54 ▼0.23 | 92.86 ▼7.26 | 82.82 ▲37.56 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.03 | 39.06 ▲3.13 | 37.47 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 18.36 ▼4.64 | 718.25 ▲45.60 | 55.44 ▲3.16 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.26 ▲0.04 | 102.33 ▼0.32 | 69.79 ▲25.06 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/page-scroll-progress/page-scroll-progress.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/page-scroll-progress/menu-page.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: progress, scroll, page progress, page scroll
page-scroll-progress/page-scroll-progress.php Passed 13 tests
The entry point to "Page Scroll Progress" version 2.0.1 is a PHP file that has certain tags in its header comment area
82 characters long description:
A plugin to create on the top side loading line witch always visible and fixed top
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
There were no executable files found in this plugin204 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 15 | 10 | 133 |
CSS | 1 | 8 | 0 | 42 |
JavaScript | 1 | 6 | 1 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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 images were found in this plugin