Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.08ms] Passed 4 tests
This is a short check of server-side resources used by WPFY Scroller
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.33 ▼4.46 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.65 ▼3.26 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.70 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 96.91 ▲8.36 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.42 ▲4.99 |
WPFY Scroller /wp-admin/options-general.php?page=wpfy-scroller-settings-page | 3.24 | 34.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WPFY Scroller: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲167 | 13.56 ▼0.80 | 10.70 ▲8.64 | 45.32 ▼0.31 |
Dashboard /wp-admin | 2,221 ▲41 | 5.81 ▲0.15 | 93.27 ▼7.15 | 39.45 ▼3.90 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 2.29 ▲0.30 | 41.24 ▲6.02 | 35.76 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.73 ▲0.21 | 673.25 ▼22.45 | 36.34 ▼26.32 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.32 ▲0.11 | 104.66 ▲10.74 | 46.60 ▲2.13 |
WPFY Scroller /wp-admin/options-general.php?page=wpfy-scroller-settings-page | 1,065 | 2.59 | 50.46 | 25.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Screenshot-1.png), #2 (Screenshot-2.png)
wpfy-scroller/wpfy-scroller.php 85% from 13 tests
The main PHP script in "WPFY Scroller" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin216 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 23 | 157 |
CSS | 1 | 4 | 5 | 37 |
JavaScript | 2 | 0 | 1 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin