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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼138.52ms] Passed 4 tests
This is a short check of server-side resources used by All in One News Scroll
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 38.48 ▲12.50 |
Dashboard /wp-admin | 3.14 ▲0.09 | 52.35 ▲7.53 |
Posts /wp-admin/edit.php | 3.19 ▲0.09 | 49.80 ▲0.36 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 91.93 ▼569.18 |
Media Library /wp-admin/upload.php | 3.09 ▲0.08 | 40.67 ▲7.22 |
Category /wp-admin/edit-tags.php?taxonomy=news_category&post_type=news_updates | 3.08 | 37.31 |
Scroller Settings /wp-admin/edit.php?post_type=news_updates&page=all_in_one_news_scroll | 3.03 | 30.69 |
Add New /wp-admin/post-new.php?post_type=news_updates | 3.19 | 51.80 |
All News & Update /wp-admin/edit.php?post_type=news_updates | 3.13 | 34.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_allinone_news_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for All in One News Scroll
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,869 ▲273 | 16.67 ▲1.13 | 14.40 ▲4.33 | 52.89 ▲1.12 |
Dashboard /wp-admin | 3,018 ▲84 | 5.95 ▲0.02 | 141.61 ▼9.34 | 116.06 ▼6.91 |
Posts /wp-admin/edit.php | 2,784 ▲48 | 2.70 ▲0.00 | 72.44 ▲2.77 | 95.48 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼154 | 18.81 ▲0.12 | 400.20 ▲22.46 | 115.24 ▼1.61 |
Media Library /wp-admin/upload.php | 1,852 ▲45 | 5.03 ▲0.02 | 155.31 ▼17.50 | 125.25 ▼12.84 |
Category /wp-admin/edit-tags.php?taxonomy=news_category&post_type=news_updates | 1,782 | 2.49 | 64.08 | 92.49 |
Scroller Settings /wp-admin/edit.php?post_type=news_updates&page=all_in_one_news_scroll | 1,207 | 2.10 | 59.44 | 89.71 |
Add New /wp-admin/post-new.php?post_type=news_updates | 3,022 | 9.07 | 223.82 | 159.16 |
All News & Update /wp-admin/edit.php?post_type=news_updates | 1,460 | 2.63 | 67.81 | 80.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- widget_allinone_news_widget
Smoke tests 50% 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)
These server-side errors were triggered
- 16 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=news_updates&page=all_in_one_news_scroll
- > Notice in wp-content/plugins/all-in-one-news-scroll/scroller-setting.php+117
Trying to access array offset on value of type bool
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-news-scroll/scroller-setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/all-in-one-news-scroll/allinone-news-scroll.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Donate link: Invalid URI found ("")
all-in-one-news-scroll/allinone-news-scroll.php 85% from 13 tests
The principal PHP file in "All in One News Scroll" v. 1.12 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("all-in-one-news-scroll.php" instead of "allinone-news-scroll.php")
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin490 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 28 | 333 |
JavaScript | 2 | 43 | 52 | 157 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
No PNG images were found in this plugin