Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.26ms] Passed 4 tests
Server-side resources used by Quick Back To Top Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.10 ▼0.93 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.52 ▲2.04 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.79 ▼0.39 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.72 ▼6.78 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.54 ▼0.94 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick Back To Top Button
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲151 | 13.57 ▼0.81 | 5.36 ▲3.60 | 37.29 ▼11.16 |
Dashboard /wp-admin | 2,206 ▲15 | 5.88 ▲1.01 | 96.88 ▼5.59 | 40.23 ▼3.85 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.04 | 40.20 ▲5.44 | 34.55 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,538 ▲2 | 23.09 ▼0.24 | 658.35 ▼30.06 | 54.40 ▼6.43 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.14 | 95.17 ▼6.01 | 41.70 ▼2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== quick-back-to-top-button ===
) - Screenshots: Screenshot #1 (See how the button look) image not found
quick-back-to-top-button/quick-back-to-top-button.php Passed 13 tests
The entry point to "Quick Back To Top Button" version 1.0.0 is a PHP file that has certain tags in its header comment area
81 characters long description:
This is a very simple back to top button plugin. Just one click and you are done.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected206 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 73 | 295 | 149 |
Markdown | 1 | 16 | 0 | 26 |
JavaScript | 1 | 2 | 0 | 19 |
CSS | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 16 | 76.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 23.81% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin