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.06MB] [CPU: ▼1.74ms] Passed 4 tests
A check of server-side resources used by Atelier Scroll Top
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 46.83 ▲4.40 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.83 ▲2.06 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 71.06 ▲13.37 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.94 ▼18.37 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.45 ▲4.97 |
Atelier ScrollTop /wp-admin/options-general.php?page=atelier-scroll-top | 3.27 | 43.52 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 47 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
This is an overview of browser requirements for Atelier Scroll Top
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲186 | 13.96 ▼0.40 | 10.99 ▲9.21 | 41.99 ▼4.61 |
Dashboard /wp-admin | 2,227 ▲50 | 5.71 ▲0.09 | 98.60 ▲12.44 | 41.59 ▼0.11 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.28 ▲0.30 | 37.76 ▼4.85 | 35.45 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.27 ▲0.22 | 684.37 ▲2.53 | 37.63 ▼17.72 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.44 ▲0.20 | 112.80 ▲1.86 | 48.58 ▲0.81 |
Atelier ScrollTop /wp-admin/options-general.php?page=atelier-scroll-top | 2,064 | 3.16 | 73.66 | 63.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/atelier-scroll-top/atelier-scroll-top.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'atlScrollTop\\OptionsVariables' not found in wp-content/plugins/atelier-scroll-top/inc/ScrollSettings.php:15
- > PHP Fatal error
Uncaught Error: Class 'atlScrollTop\\OptionsVariables' not found in wp-content/plugins/atelier-scroll-top/inc/scrollStyleCss.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=atelier-scroll-top
- > Network (severe)
wp-content/plugins/atelier-scroll-top/inc/assets/scrolltop.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=atelier-scroll-top
- > Network (severe)
wp-content/plugins/atelier-scroll-top/inc/custom-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=atelier-scroll-top
- > Other (warning) in unknown
/wp-admin/options-general.php?page=atelier-scroll-top 560 Failed to decode downloaded font: /wp-content/plugins/atelier-scroll-top/assets/fontello/font/fontello.woff2?54114207
- > GET request to /wp-admin/options-general.php?page=atelier-scroll-top
- > Other (warning) in unknown
/wp-admin/options-general.php?page=atelier-scroll-top - Failed to decode downloaded font: /wp-content/plugins/atelier-scroll-top/assets/fontello/font/fontello.woff?54114207
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Donate link: Please fix this invalid url: "paypal.me/mariusz1988"
- Screenshots: Screenshot #1 (Atelier Scroll Top Settings page screenshot-01.png) image missing
atelier-scroll-top/atelier-scroll-top.php 92% from 13 tests
The entry point to "Atelier Scroll Top" version 1.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,279 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 337 | 461 | 1,104 |
CSS | 7 | 73 | 52 | 477 |
HTML | 1 | 11 | 0 | 315 |
PO File | 2 | 73 | 80 | 227 |
JSON | 3 | 0 | 0 | 108 |
SVG | 1 | 14 | 0 | 26 |
JavaScript | 1 | 7 | 3 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 7 | 8.54% |
▷ Public methods | 81 | 98.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.22% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-256x256.png | 10.90KB | 5.51KB | ▼ 49.43% |
assets/img/banner-772x250.png | 58.57KB | 23.60KB | ▼ 59.70% |
screenshot-01.png | 50.15KB | 23.01KB | ▼ 54.12% |
assets/img/logoMedium.png | 77.61KB | 29.55KB | ▼ 61.92% |