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.07MB] [CPU: ▼1.20ms] Passed 4 tests
A check of server-side resources used by Jquery news ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.35 ▼0.31 |
Dashboard /wp-admin | 3.38 ▲0.07 | 43.68 ▼8.78 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.59 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.60 ▲2.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.66 ▲3.80 |
Jquery news ticker /wp-admin/options-general.php?page=jquery-news-ticker | 3.31 | 31.67 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_jquery_newsticker |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Jntp_pluginversion |
widget_jquery-news-ticker |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jquery news ticker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.44 ▼0.92 | 8.39 ▲6.67 | 43.96 ▼0.16 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▼0.03 | 88.76 ▼1.46 | 42.66 ▲2.13 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.17 | 39.25 ▲3.32 | 36.57 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.95 ▼0.48 | 579.47 ▼133.95 | 52.75 ▼19.15 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.17 ▼0.08 | 94.86 ▼20.18 | 42.90 ▲0.76 |
Jquery news ticker /wp-admin/options-general.php?page=jquery-news-ticker | 881 | 2.03 | 28.53 | 29.31 |
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
- Zombie WordPress options were found after uninstall: 7 options
- widget_jquery-news-ticker
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/jquery-news-ticker/pages/content-management-add.php
- > /wp-content/plugins/jquery-news-ticker/pages/content-management-edit.php
- > /wp-content/plugins/jquery-news-ticker/pages/content-management-show.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/jquery-news-ticker/jquery-news-ticker.php:22
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/jquery-news-ticker/jquery-news-ticker.php on line 17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
3 plugin tags: jquery, ticker, news
jquery-news-ticker/jquery-news-ticker.php 92% from 13 tests
The main PHP script in "Jquery news ticker" version 3.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)
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
Everything looks great! No dangerous files found in this plugin1,727 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 95 | 31 | 800 |
PO File | 4 | 166 | 356 | 405 |
JavaScript | 2 | 34 | 69 | 385 |
CSS | 1 | 0 | 2 | 136 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
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% |