Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.04ms] Passed 4 tests
An overview of server-side resources used by Recent Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.93 ▲0.09 |
Dashboard /wp-admin | 3.35 ▼0.00 | 45.58 ▼12.30 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.02 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.25 ▼25.27 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.07 ▲0.28 |
Vertical Ticker Settings /wp-admin/options-general.php?page=my-setting-admin | 3.21 | 29.45 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Recent Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.22 ▼0.96 | 2.64 ▲0.90 | 41.64 ▲0.07 |
Dashboard /wp-admin | 2,210 ▲18 | 5.85 ▲0.96 | 95.40 ▼13.79 | 40.89 ▼3.28 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.97 ▼0.03 | 34.74 ▼10.17 | 33.44 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,540 ▲19 | 23.13 ▲0.05 | 643.51 ▼24.13 | 55.50 ▼10.31 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.04 | 97.69 ▼11.94 | 39.61 ▼9.02 |
Vertical Ticker Settings /wp-admin/options-general.php?page=my-setting-admin | 868 | 2.05 | 24.96 | 28.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=my-setting-admin
- > Notice in wp-content/plugins/responsive-vertical-recent-post-ticker/wp-vertical-slider.php+249
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: vertical ticker, ticker, responsive ticker, recent post scroll, marquee...
responsive-vertical-recent-post-ticker/wp-vertical-slider.php 92% from 13 tests
The main PHP script in "Recent Posts" version 0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("responsive-vertical-recent-post-ticker.php" instead of "wp-vertical-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected364 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 48 | 178 |
JavaScript | 1 | 43 | 9 | 156 |
CSS | 1 | 6 | 1 | 30 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Named functions | 4 | 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 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ticker-pro.png | 62.08KB | 17.78KB | ▼ 71.36% |