Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.72ms] Passed 4 tests
Server-side resources used by Announcement ticker highlighter scroller
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.21 ▼2.57 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.24 ▼3.63 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.46 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.39 ▼10.73 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.63 ▼1.56 |
Announcement ticker /wp-admin/options-general.php?page=announcement-ticker-highlighter-scroller | 3.29 | 31.87 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_g_aths_plugin |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
g_aths_height |
g_aths_speed |
g_aths_width |
g_aths_highlightcolor |
g_aths_title_display |
theysaidso_admin_options |
widget_recent-comments |
g_aths_textcolor |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Announcement ticker highlighter scroller
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.19 ▼0.01 | 1.93 ▲0.32 | 45.32 ▲5.59 |
Dashboard /wp-admin | 2,193 ▲13 | 5.59 ▼0.11 | 91.69 ▲6.34 | 39.75 ▼1.66 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.01 ▲0.01 | 34.96 ▼6.35 | 37.99 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▼10 | 17.81 ▼5.61 | 689.30 ▲1.61 | 55.77 ▲2.03 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.06 | 99.82 ▼3.29 | 41.10 ▼3.45 |
Announcement ticker /wp-admin/options-general.php?page=announcement-ticker-highlighter-scroller | 889 | 2.02 | 24.62 | 26.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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)
Everything seems fine, however this is by no means 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
Please fix the following
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/announcement-ticker-highlighter-scroller/pages/content-management-add.php
- > /wp-content/plugins/announcement-ticker-highlighter-scroller/announcement-ticker-highlighter-scroller.php
- > /wp-content/plugins/announcement-ticker-highlighter-scroller/pages/widget-setting.php
- > /wp-content/plugins/announcement-ticker-highlighter-scroller/pages/content-management-show.php
- > /wp-content/plugins/announcement-ticker-highlighter-scroller/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
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: ticker, message, highlighter, announcement, scroller...
announcement-ticker-highlighter-scroller/announcement-ticker-highlighter-scroller.php Passed 13 tests
The main PHP script in "Announcement ticker highlighter scroller" version 12.1 is automatically included on every request by WordPress
133 characters long description:
This plug-in will display the announcement with highlighter scroller. It gradually reveals each message into view from bottom to top.
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 plugin1,143 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 79 | 31 | 679 |
PO File | 3 | 157 | 259 | 360 |
JavaScript | 3 | 10 | 23 | 104 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin