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.13MB] [CPU: ▼6.98ms] Passed 4 tests
Analyzing server-side resources used by jQuery Latest News Ticker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 45.72 ▲3.60 |
Dashboard /wp-admin | 3.51 ▲0.13 | 50.56 ▼13.06 |
Posts /wp-admin/edit.php | 3.62 ▲0.23 | 48.76 ▼1.12 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.19 | 82.37 ▼14.58 |
Media Library /wp-admin/upload.php | 3.43 ▲0.17 | 37.58 ▲0.86 |
All Latest News Tickers /wp-admin/edit.php?post_type=latest_news_ticker | 3.47 | 35.99 |
Add New /wp-admin/post-new.php?post_type=latest_news_ticker | 3.46 | 44.99 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for jQuery Latest News Ticker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.67 ▼0.69 | 4.96 ▲3.10 | 37.51 ▼4.42 |
Dashboard /wp-admin | 2,249 ▲64 | 4.95 ▼0.90 | 101.09 ▼23.34 | 40.68 ▼1.54 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.26 ▲0.25 | 41.74 ▲5.89 | 35.64 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 23.23 ▲5.80 | 670.15 ▼17.02 | 73.31 ▲19.35 |
Media Library /wp-admin/upload.php | 1,437 ▲55 | 4.36 ▲0.14 | 104.78 ▲1.96 | 46.17 ▲3.41 |
All Latest News Tickers /wp-admin/edit.php?post_type=latest_news_ticker | 1,103 | 2.24 | 32.93 | 28.41 |
Add New /wp-admin/post-new.php?post_type=latest_news_ticker | 1,872 | 2.76 | 55.04 | 41.92 |
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 did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'ColourDrift_Post_Type' not found in wp-content/plugins/jquery-latest-news-ticker/includes/post-types.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jquery-latest-news-ticker/includes/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jquery-latest-news-ticker/includes/scripts.php:22
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/jquery-latest-news-ticker/jquery-latest-news-ticker.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jquery-latest-news-ticker/jquery-latest-news-ticker.php:38
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=latest_news_ticker
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/jquery-latest-news-ticker/includes/js/custom_post_admin.js?ver=1.0.0-1696824935:57:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=latest_news_ticker
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/post-new.php?post_type=latest_news_ticker
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/jquery-latest-news-ticker/includes/js/custom_post_admin.js?ver=1.0.0-1696824937:57:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: ticker, news, news ticker, jquery, scrolling...
jquery-latest-news-ticker/jquery-latest-news-ticker.php 92% from 13 tests
Analyzing the main PHP file in "jQuery Latest News Ticker" version 1.0.2
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 310 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,551 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 273 | 209 | 933 |
JavaScript | 2 | 54 | 86 | 391 |
CSS | 5 | 17 | 28 | 227 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 27 | 84.38% |
▷ Anonymous functions | 5 | 15.62% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
16 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/css/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/css/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |