Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.55ms] Passed 4 tests
Server-side resources used by Easy News Ticker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.06 | 41.96 ▼3.12 |
Dashboard /wp-admin | 3.62 ▲0.06 | 54.87 ▼5.97 |
Posts /wp-admin/edit.php | 3.74 ▲0.06 | 48.88 ▼5.62 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.06 | 95.71 ▼7.50 |
Media Library /wp-admin/upload.php | 3.55 ▲0.06 | 39.26 ▲0.98 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_ent-news-ticker-widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy News Ticker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲93 | 13.86 ▼0.18 | 8.34 ▲6.54 | 38.12 ▼3.46 |
Dashboard /wp-admin | 2,203 ▲35 | 5.60 ▲0.04 | 95.40 ▲1.68 | 40.40 ▼5.04 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.02 ▼0.06 | 41.71 ▲2.79 | 34.18 ▼6.05 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.18 ▼0.06 | 601.64 ▲2.69 | 48.75 ▼13.76 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.22 ▼0.03 | 102.75 ▼1.86 | 45.72 ▼0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_ent-news-ticker-widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== easy-news-ticker ===
)
easy-news-ticker/easy_news_ticker.php 85% from 13 tests
The main PHP script in "Easy News Ticker" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("easy-news-ticker.php" instead of "easy_news_ticker.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
Everything looks great! No dangerous files found in this plugin431 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 105 | 33 | 310 |
JavaScript | 3 | 9 | 1 | 106 |
CSS | 1 | 1 | 0 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.38MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 108.94KB | 40.11KB | ▼ 63.18% |
screenshot-4.png | 80.18KB | 31.83KB | ▼ 60.30% |
screenshot-5.png | 64.61KB | 29.74KB | ▼ 53.96% |
screenshot-2.png | 53.61KB | 19.96KB | ▼ 62.76% |
screenshot-3.png | 70.38KB | 28.58KB | ▼ 59.39% |