Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.26ms] Passed 4 tests
A check of server-side resources used by News Announcement Scroll
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.67 ▼0.10 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.07 ▼2.95 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.61 ▲3.89 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.21 ▼16.87 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.85 ▲2.89 |
News Announcement Scroll /wp-admin/options-general.php?page=news-announcement-scroll | 3.30 | 33.69 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_news_announcement |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for News Announcement Scroll
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.74 ▲0.51 | 1.66 ▲0.02 | 43.89 ▼3.11 |
Dashboard /wp-admin | 2,202 ▲21 | 5.58 ▼0.15 | 84.88 ▼29.33 | 39.18 ▼3.72 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.05 | 35.81 ▲0.90 | 33.06 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.42 ▲0.28 | 656.66 ▼56.61 | 49.64 ▼15.33 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.04 | 94.43 ▼19.74 | 41.20 ▼7.78 |
News Announcement Scroll /wp-admin/options-general.php?page=news-announcement-scroll | 963 | 2.03 | 25.44 | 42.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_news_announcement
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 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 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
The following issues need your attention
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/news-announcement-scroll/pages/content-management-add.php
- > /wp-content/plugins/news-announcement-scroll/pages/content-management-show.php
- > /wp-content/plugins/news-announcement-scroll/gAnnounce/gAnnounce.php
- > /wp-content/plugins/news-announcement-scroll/pages/content-setting.php
- > /wp-content/plugins/news-announcement-scroll/pages/content-management-edit.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
- Screenshots: Please a description for screenshot #5 in news-announcement-scroll/assets to your readme.txt
news-announcement-scroll/news-announcement-scroll.php Passed 13 tests
"News Announcement Scroll" version 9.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
108 characters long description:
A simple vertical scroll news widget for your WordPress website. Easy to use & no coding knowledge required.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,171 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 147 | 37 | 1,033 |
JavaScript | 3 | 13 | 5 | 138 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin