Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.23ms] 75% from 4 tests
An overview of server-side resources used by news ticker benaceur
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 523.44ms on /wp-admin/options-general.php?page=news_ticker_benaceur)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 54.91 ▲13.13 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.51 ▼7.66 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.94 ▲3.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 94.00 ▲0.72 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.29 ▲4.55 |
News-Ticker-Benaceur /wp-admin/options-general.php?page=news_ticker_benaceur | 3.69 | 523.44 |
Server storage [IO: ▲1.04MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 8 new options
New WordPress options |
---|
news_ticker_benaceur_version |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
news_ticker_benaceur_glob_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by news ticker benaceur
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲135 | 13.78 ▼0.57 | 10.84 ▲8.99 | 40.45 ▼6.53 |
Dashboard /wp-admin | 2,196 ▲22 | 5.51 ▼0.16 | 96.76 ▲8.70 | 40.38 ▼3.36 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.01 ▲0.02 | 39.53 ▼1.42 | 35.65 ▼4.68 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.03 ▼0.07 | 639.81 ▼67.03 | 60.29 ▲7.78 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.01 | 101.21 ▼4.75 | 43.16 ▼5.33 |
News-Ticker-Benaceur /wp-admin/options-general.php?page=news_ticker_benaceur | 6,220 | 5.94 | 185.08 | 232.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- news_ticker_benaceur_version
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- news_ticker_benaceur_glob_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-Ti.php:11
- > PHP Notice
Undefined variable: rtl_ in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-two.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/scrollntb.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/style-common.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/inc/ie8.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/news-ticker-benaceur-page.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-scroll_up.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-fadeIn.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-two.php:6
- > PHP Notice
Undefined variable: rtl_ in wp-content/plugins/news-ticker-benaceur/style-anim/no-scrollntb-scroll_up.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
news-ticker-benaceur/news-ticker-benaceur.php Passed 13 tests
The principal PHP file in "news ticker benaceur" v. 3.2.3 is loaded by WordPress automatically on each request
131 characters long description:
This plugin allow you to display the latest posts or latest comments in a bar with twenty seven beautiful animations and effects...
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
Good job! No executable or dangerous file extensions detected10,801 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 696 | 254 | 4,690 |
JavaScript | 10 | 641 | 430 | 4,011 |
CSS | 3 | 129 | 19 | 1,293 |
PO File | 1 | 317 | 342 | 793 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 111.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 248.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 75 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
admin/top-r.png | 0.79KB | 0.47KB | ▼ 40.84% |
admin/top-l.png | 0.92KB | 0.50KB | ▼ 45.57% |