Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼21.08ms] Passed 4 tests
Server-side resources used by WP Post Ticker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 36.58 ▲0.38 |
Dashboard /wp-admin | 3.42 ▲0.07 | 30.02 ▼28.43 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 32.62 ▼18.59 |
Add New Post /wp-admin/post-new.php | 5.68 ▼0.20 | 65.73 ▼31.99 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 26.83 ▼5.31 |
Global Style Settings /wp-admin/admin.php?page=wppt_admin_menu_global_style | 3.40 | 28.90 |
All Post Tickers /wp-admin/edit.php?post_type=wppt_post_ticker | 3.47 | 31.26 |
Instructions /wp-admin/admin.php?page=wppt_admin_menu_instruction | 3.40 | 28.52 |
Server storage [IO: ▲3.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 107 new files
Database: no new tables, 26 new options
New WordPress options |
---|
wppt_global_container_post_display_title |
wppt_global_container_title_nav_border_bottom |
wppt_global_container_post_display_meta_two |
wppt_global_container_title_font_size |
wppt_global_container_border_left |
wppt_global_container_post_display_meta_one |
wppt_global_container_border_bottom |
widget_recent-posts |
db_upgraded |
widget_wp-post-ticker-widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Post Ticker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,094 ▲348 | 15.25 ▲0.88 | 6.99 ▲5.19 | 38.08 ▼3.54 |
Dashboard /wp-admin | 2,405 ▲217 | 6.57 ▲1.63 | 126.62 ▲11.60 | 88.40 ▲30.55 |
Posts /wp-admin/edit.php | 2,310 ▲218 | 3.37 ▲1.33 | 46.73 ▲5.68 | 72.64 ▲35.14 |
Add New Post /wp-admin/post-new.php | 6,301 ▲4,782 | 25.91 ▲2.58 | 857.25 ▲229.00 | 41.23 ▼8.60 |
Media Library /wp-admin/upload.php | 1,453 ▲62 | 4.25 ▲0.04 | 78.81 ▼21.60 | 62.28 ▲18.74 |
Global Style Settings /wp-admin/admin.php?page=wppt_admin_menu_global_style | 2,555 | 3.85 | 62.31 | 73.79 |
All Post Tickers /wp-admin/edit.php?post_type=wppt_post_ticker | 1,290 | 3.55 | 46.22 | 68.18 |
Instructions /wp-admin/admin.php?page=wppt_admin_menu_instruction | 1,386 | 3.16 | 39.59 | 109.50 |
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
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_wp-post-ticker-widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wppt_admin_menu_instruction
- > Notice in wp-content/plugins/wp-post-ticker/admin/class-wp-post-ticker-admin.php+79
Undefined property: WP_Post_ticker_Admin::$plugin_name
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #0, #0, #0, #0 in wp-post-ticker/assets to your readme.txt
- Screenshots: Add images for these screenshots: #1 (screenshot-front-end.jpg shows how the plugin display looks.), #2 (screenshot-individual-settings.jpg shows how you can override global settings from each post ticker setting.), #3 (screenshot-global-settings.jpg shows you how you can configure global settings with styles.), #4 (screenshot-instructions.jpg shows you the instruction which can be viewed when the plugin is installed.)
wp-post-ticker/wp-post-ticker.php 92% from 13 tests
Analyzing the main PHP file in "WP Post Ticker" version 1.0.8
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 245 characters long)
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 plugin5,739 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 184 | 632 | 2,958 |
JavaScript | 5 | 197 | 188 | 1,177 |
CSS | 5 | 118 | 20 | 781 |
SVG | 1 | 0 | 0 | 655 |
HTML | 1 | 47 | 11 | 168 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 2 | 2.82% |
▷ Public methods | 66 | 92.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.04% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
admin/assets/admin-icon.png | 1.64KB | 0.76KB | ▼ 53.52% |