Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.39ms] Passed 4 tests
An overview of server-side resources used by NewsTick Ultra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 37.82 ▼4.69 |
Dashboard /wp-admin | 3.37 ▲0.06 | 55.61 ▲3.97 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.48 ▲2.10 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.07 | 92.22 ▼6.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.47 ▼0.84 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 17 new options
New WordPress options |
---|
can_compress_scripts |
NSWUP_fil_cat |
NSWUP_text |
widget_recent-comments |
NSWUP_theme |
NSWUP_col_bar |
NSWUP_col_bar_tit |
NSWUP_col_link |
widget_theysaidso_widget |
NSWUP_dim_barra |
... |
Browser metrics Passed 4 tests
A check of browser resources used by NewsTick Ultra
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲133 | 13.80 ▼0.39 | 8.03 ▲6.18 | 42.77 ▼5.32 |
Dashboard /wp-admin | 2,218 ▲38 | 5.67 ▲0.06 | 95.38 ▼0.66 | 37.64 ▼5.65 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.02 ▲0.04 | 40.70 ▲2.11 | 34.45 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.36 ▲0.22 | 684.10 ▲4.91 | 61.19 ▼11.69 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.19 ▲0.03 | 102.38 ▲1.61 | 46.16 ▲3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 17 options in the database
- NSWUP_col_bar
- NSWUP_col_not
- NSWUP_dim_barra
- theysaidso_admin_options
- can_compress_scripts
- NSWUP_theme
- widget_theysaidso_widget
- NSWUP_col_link
- NSWUP_col_tit
- NSWUP_title_content
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
No output text or server-side errors detected on direct access of PHP files
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 97% 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 to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in newstick-ultra/assets to your readme.txt
newstick-ultra/newstick-ultra.php Passed 13 tests
This is the main PHP file of "NewsTick Ultra" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
81 characters long description:
A stylish and customisable news ticker that displays news or alternative content.
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
Good job! No executable or dangerous file extensions detected905 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 52 | 100 | 384 |
PHP | 2 | 83 | 14 | 355 |
CSS | 2 | 32 | 0 | 166 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin