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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.34ms] Passed 4 tests
This is a short check of server-side resources used by MakeITeasy Back To Top
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.52 ▼6.03 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.87 ▼1.40 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 48.61 ▲0.80 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.83 ▼2.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.87 ▲2.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for MakeITeasy Back To Top
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲31 | 14.15 ▲0.08 | 1.85 ▼0.14 | 38.72 ▼5.83 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.08 | 97.12 ▼3.85 | 40.50 ▼3.80 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.01 | 39.59 ▼0.63 | 34.30 ▼3.64 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,840 | 27.42 ▲4.56 | 873.03 ▲228.74 | 59.14 ▲13.99 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.08 | 95.74 ▼5.99 | 42.14 ▲0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makeiteasy-back-to-top/makeiteasy-back-to-top.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
9 plugin tags: block, easy, scroll to top, button, back to top...
makeiteasy-back-to-top/makeiteasy-back-to-top.php Passed 13 tests
The main PHP file in "MakeITeasy Back To Top" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
17 characters long description:
Back to top block
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected71 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 58 |
PHP | 3 | 1 | 24 | 8 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/block-assets/keyboard_arrow_up.png | 0.27KB | 0.25KB | ▼ 6.52% |