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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.66ms] Passed 4 tests
An overview of server-side resources used by Any News Ticker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 26.71 ▼18.76 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.80 ▼1.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.99 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 106.60 ▲18.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.24 ▼2.02 |
Any News Ticker /wp-admin/options-general.php?page=ant-any-news-ticker | 3.18 | 28.69 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Any News Ticker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.96 ▼0.40 | 6.64 ▲4.71 | 40.26 ▼11.26 |
Dashboard /wp-admin | 2,229 ▲38 | 5.10 ▲0.19 | 108.03 ▲7.72 | 37.86 ▼4.32 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.31 ▲0.30 | 40.45 ▼0.78 | 34.43 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.08 ▲4.59 | 645.95 ▲3.71 | 35.60 ▼17.81 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.42 ▲0.25 | 97.60 ▼4.49 | 40.24 ▼10.01 |
Any News Ticker /wp-admin/options-general.php?page=ant-any-news-ticker | 1,496 | 2.82 | 64.58 | 32.01 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ant-any-news-ticker
- > Notice in wp-content/plugins/any-news-ticker/src/options.php+127
Undefined index: ant_ticker_title
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ant-any-news-ticker
- > Notice in wp-content/plugins/any-news-ticker/src/options.php+171
Undefined index: ant_post_type
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/any-news-ticker/src/options.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/any-news-ticker/any-news-ticker.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/any-news-ticker/src/ticker-main.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=ant-any-news-ticker
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=ant-any-news-ticker 176 The specified value "5px" cannot be parsed, or is out of range.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Default Ticker Type options), #2 (Scroll Mode options), #3 (Rotate Mode options), #4 (Global options), #5 (Embed options)
any-news-ticker/any-news-ticker.php Passed 13 tests
The principal PHP file in "Any News Ticker" v. 2.1.2 is loaded by WordPress automatically on each request
59 characters long description:
Any news ticker to show anything as ticker in your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,480 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 35 | 71 | 358 |
CSS | 2 | 16 | 17 | 341 |
XML | 4 | 0 | 0 | 297 |
PHP | 3 | 60 | 30 | 261 |
SVG | 1 | 0 | 0 | 223 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 9 | |
▷ Named functions | 9 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/controls.png | 2.08KB | 1.38KB | ▼ 33.36% |