Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/libre-scrolling/libre-scrolling.php+23
Undefined property: plugin_libre_scroll::$anchors
Server metrics [RAM: ▼1.86MB] [CPU: ▼192.32ms] Passed 4 tests
A check of server-side resources used by Libre scrolling
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.77 ▼0.95 | 5.20 ▼18.41 |
Dashboard /wp-admin | 1.79 ▼1.27 | 5.20 ▼45.33 |
Posts /wp-admin/edit.php | 1.79 ▼1.32 | 5.77 ▼44.95 |
Add New Post /wp-admin/post-new.php | 1.79 ▼3.65 | 6.24 ▼650.73 |
Media Library /wp-admin/upload.php | 1.79 ▼1.21 | 7.33 ▼28.25 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Libre scrolling
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲93 | 15.91 ▲0.24 | 9.41 ▼2.31 | 50.80 ▼1.54 |
Dashboard /wp-admin | 2,970 ▲36 | 5.92 ▼0.15 | 149.50 ▼14.87 | 116.93 ▼10.21 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 68.69 ▲2.27 | 95.16 ▼4.71 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.73 ▲0.61 | 395.05 ▼11.31 | 108.32 ▼11.54 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.00 | 165.70 ▼6.60 | 130.14 ▲2.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/libre-scrolling/libre-scrolling.php+23
Undefined property: plugin_libre_scroll::$anchors
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 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
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_filter() in wp-content/plugins/libre-scrolling/libre-scrolling.php:22
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
libre-scrolling/libre-scrolling.php 92% from 13 tests
The principal PHP file in "Libre scrolling" v. 0.1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin54 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 33 | 36 |
JavaScript | 1 | 3 | 6 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin