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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.66ms] Passed 4 tests
Analyzing server-side resources used by Scroll Progress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.67 ▼6.15 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.97 ▼3.47 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.94 ▼8.80 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.19 ▼16.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.22 ▲3.02 |
Scroll Progress /wp-admin/options-general.php?page=scroll_progress | 3.20 | 32.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Scroll Progress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.61 ▼0.04 | 1.75 ▼0.19 | 43.26 ▼3.15 |
Dashboard /wp-admin | 2,202 ▲31 | 5.63 ▼0.02 | 95.17 ▼4.26 | 43.93 ▲0.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.05 | 36.25 ▼5.79 | 35.05 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.58 ▲0.30 | 635.61 ▼49.77 | 54.33 ▲7.19 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.00 | 96.52 ▼16.42 | 43.19 ▼5.85 |
Scroll Progress /wp-admin/options-general.php?page=scroll_progress | 833 | 1.99 | 21.19 | 28.60 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=scroll_progress
- > Notice in wp-content/plugins/scroll-progress/scroll-progress-plugin.php+133
Trying to access array offset on value of type bool
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scroll-progress/scroll-progress-plugin.php:13
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== scroll-progress ===
) - Screenshots: These screenshots lack descriptions #2, #3, #4 in scroll-progress/assets to your readme.txt
scroll-progress/scroll-progress-plugin.php 85% from 13 tests
The main PHP file in "Scroll Progress" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("scroll-progress.php" instead of "scroll-progress-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin308 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 17 | 0 | 121 |
PHP | 1 | 35 | 12 | 121 |
JavaScript | 2 | 11 | 1 | 66 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin