Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.38ms] Passed 4 tests
This is a short check of server-side resources used by Awesome Wp Widget Newsticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.26 ▼5.23 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.83 ▼0.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.71 ▲4.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.49 ▼20.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.17 ▼3.20 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_news-ticker |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Awesome Wp Widget Newsticker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲150 | 13.56 ▼0.82 | 4.85 ▲2.99 | 39.49 ▼9.44 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▲0.03 | 98.78 ▼13.02 | 42.16 ▼2.72 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.97 ▲0.00 | 35.69 ▼3.93 | 33.10 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,540 ▲4 | 23.21 ▼0.03 | 654.07 ▲13.45 | 58.70 ▲7.70 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.33 ▲0.11 | 100.04 ▲1.44 | 41.26 ▼1.57 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_news-ticker
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== awesome-wp-widget-newsticker ===
)
awesome-wp-widget-newsticker/Awesome-Wp-Widget-Newsticker.php 92% from 13 tests
The main PHP script in "Awesome Wp Widget Newsticker" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("awesome-wp-widget-newsticker.php" instead of "Awesome-Wp-Widget-Newsticker.php")
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
No dangerous file extensions were detected287 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 43 | 49 | 157 |
PHP | 1 | 33 | 25 | 75 |
CSS | 1 | 4 | 0 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected