Benchmarks
Plugin footprint Passed 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.04MB] [CPU: ▼293.03ms] Passed 4 tests
An overview of server-side resources used by Advance News Ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 54.61 ▲6.20 |
Dashboard /wp-admin | 3.47 ▲0.06 | 33.68 ▲1.44 |
Posts /wp-admin/edit.php | 3.71 ▲0.06 | 34.83 ▼2.66 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 92.70 ▼1,171.55 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 24.32 ▲0.64 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advance News Ticker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,952 ▲197 | 16.59 ▲0.95 | 9.17 ▲2.41 | 2.44 ▼0.49 |
Dashboard /wp-admin | 2,939 ▲85 | 6.94 ▲0.78 | 134.63 ▼3.17 | 167.64 ▲6.93 |
Posts /wp-admin/edit.php | 2,738 ▲81 | 3.30 ▲0.07 | 65.75 ▼0.47 | 156.72 ▲14.41 |
Add New Post /wp-admin/post-new.php | 1,701 ▼61 | 18.43 ▼0.66 | 415.30 ▲2.07 | 159.84 ▲6.30 |
Media Library /wp-admin/upload.php | 1,743 ▲45 | 5.86 ▲0.36 | 126.69 ▼7.44 | 186.46 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/advance-news-ticker/inc/advance-news-ticker-shortcode.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/advance-news-ticker/inc/advance-news-ticker-shortcode.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advance-news-ticker/inc/advance-news-ticker-option-page.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
advance-news-ticker/advance-news-ticker.php Passed 13 tests
The primary PHP file in "Advance News Ticker" version 1.0 is used by WordPress to initiate all plugin functionality
61 characters long description:
Advance News Ticker is a multi-functional data display plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin349 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 32 | 259 |
CSS | 2 | 16 | 2 | 82 |
JavaScript | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin