Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.92ms] Passed 4 tests
A check of server-side resources used by Latest Simple News Ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.01 ▼2.70 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.92 ▼4.66 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.17 ▲1.41 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.87 ▼17.74 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.21 ▲4.31 |
NewsTicker Options /wp-admin/options-general.php?page=newsticker_options | 3.25 | 34.47 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Latest Simple News Ticker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲107 | 13.53 ▼0.82 | 8.54 ▲6.40 | 47.87 ▲5.39 |
Dashboard /wp-admin | 2,221 ▲44 | 5.99 ▲0.34 | 95.11 ▲3.68 | 38.69 ▲0.23 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.25 ▲0.25 | 42.99 ▲6.00 | 35.19 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.98 ▲0.42 | 677.41 ▼18.93 | 38.96 ▼1.56 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.42 ▲0.22 | 102.16 ▼13.88 | 40.53 ▼8.56 |
NewsTicker Options /wp-admin/options-general.php?page=newsticker_options | 1,352 | 2.69 | 57.78 | 32.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/latest-simple-news-ticker/lib/simpleTicker-shortcode.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/latest-simple-news-ticker/lib/simpleTicker-option-page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/latest-simple-news-ticker/lib/simpleTicker-shortcode.php:84
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: wordpress news ticker, jquery wordpress news ticker etc, news bar, news ticker, wordpress marquee bar...
latest-simple-news-ticker/main.php 92% from 13 tests
The main PHP script in "Latest Simple News Ticker" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("latest-simple-news-ticker.php" instead of "main.php")
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
There were no executable files found in this plugin341 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 19 | 207 |
JavaScript | 2 | 17 | 20 | 134 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 17 | |
▷ Named functions | 17 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected