Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.99ms] Passed 4 tests
Analyzing server-side resources used by scroll up oiiio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.23 ▲2.23 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.96 ▼10.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.23 ▲0.32 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.46 ▼20.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.50 ▲2.30 |
scroll up /wp-admin/options-general.php?page=scroll-up-oiiio | 3.21 | 33.33 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for scroll up oiiio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲126 | 13.41 ▼1.30 | 11.30 ▲9.77 | 46.92 ▲7.57 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.03 | 92.05 ▲7.20 | 42.62 ▼3.46 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.05 | 39.25 ▲4.76 | 37.39 ▲4.38 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.21 ▲0.21 | 661.75 ▼15.57 | 58.21 ▲6.04 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.00 | 93.29 ▼10.38 | 40.74 ▼0.47 |
scroll up /wp-admin/options-general.php?page=scroll-up-oiiio | 895 | 2.18 | 23.33 | 27.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scroll-up-oiiio/testimonials.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scroll-up-oiiio/inc/options.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scroll-up-oiiio/main.php:15
- > PHP Fatal error
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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: scroll, oiiio, scroll up, api
scroll-up-oiiio/main.php 92% from 13 tests
"scroll up oiiio" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("scroll-up-oiiio.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin716 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 48 | 39 | 316 |
CSS | 2 | 39 | 6 | 215 |
JavaScript | 1 | 18 | 10 | 185 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 24 | |
▷ Named functions | 24 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cycle-hover.png | 1.55KB | 0.55KB | ▼ 64.45% |
img/cycle.png | 1.40KB | 0.38KB | ▼ 72.95% |
img/style.png | 7.37KB | 3.50KB | ▼ 52.60% |
img/square-hover.png | 1.26KB | 0.33KB | ▼ 73.95% |
img/triangle.png | 1.68KB | 0.77KB | ▼ 54.33% |