Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.43ms] Passed 4 tests
An overview of server-side resources used by Static Newsticker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.46 ▲3.49 |
Dashboard /wp-admin | 3.33 ▲0.02 | 54.41 ▼0.78 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.86 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.15 ▼16.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.85 ▼1.49 |
Static Newsticker /wp-admin/options-general.php?page=static-news-ticker | 3.22 | 33.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
news-ticker-settings |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Static Newsticker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲264 | 13.45 ▼1.10 | 15.37 ▲13.37 | 55.23 ▲15.09 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▲0.07 | 93.37 ▲5.51 | 44.34 ▲1.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 34.17 ▼6.79 | 32.10 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.28 ▲0.21 | 712.44 ▲100.43 | 51.01 ▲1.21 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▲0.03 | 99.75 ▲3.73 | 44.26 ▲0.03 |
Static Newsticker /wp-admin/options-general.php?page=static-news-ticker | 849 | 1.99 | 27.47 | 28.23 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- news-ticker-settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/static-newsticker/init.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: hot news, breaking news, headlines, headline news, newsticker
static-newsticker/init.php 77% from 13 tests
The principal PHP file in "Static Newsticker" v. 2.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("static-newsticker.php" instead of "init.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin201 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 27 | 143 |
CSS | 2 | 6 | 0 | 58 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 6 | |
▷ Named functions | 6 | 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
There are no PNG files in this plugin