Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.58ms] Passed 4 tests
A check of server-side resources used by Simple News and Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 43.76 ▲0.37 |
Dashboard /wp-admin | 3.45 ▲0.15 | 52.29 ▼3.81 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 54.15 ▲4.77 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 89.60 ▼14.61 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.67 ▲3.73 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=news | 3.37 | 38.57 |
News /wp-admin/edit.php?post_type=news | 3.42 | 38.73 |
Add News /wp-admin/post-new.php?post_type=news | 6.14 | 90.25 |
Category /wp-admin/edit-tags.php?taxonomy=news-category&post_type=news | 3.37 | 39.22 |
Slider Settings /wp-admin/edit.php?post_type=news&page=nwowls-settings | 3.34 | 34.30 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 23 new options
New WordPress options |
---|
nwowls_news_order |
nwowls_news_auto_play |
nwowls_news_pagination |
nwowls_news_limit |
nwowls_news_nav |
db_upgraded |
nwowls_news_read_more_text |
nwowls_news_show_full_content |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple News and Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,052 ▲291 | 14.26 ▼0.11 | 16.82 ▲15.29 | 35.86 ▼6.89 |
Dashboard /wp-admin | 2,228 ▲51 | 5.56 ▼0.11 | 84.01 ▼18.89 | 40.22 ▲0.12 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.99 ▲0.01 | 38.43 ▲1.88 | 33.98 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.13 ▲0.07 | 668.93 ▼23.20 | 50.11 ▼3.47 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.23 ▲0.03 | 103.83 ▲3.94 | 45.70 ▼1.73 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=news | 1,358 | 2.12 | 25.95 | 29.02 |
News /wp-admin/edit.php?post_type=news | 1,170 | 1.98 | 29.98 | 32.11 |
Add News /wp-admin/post-new.php?post_type=news | 6,257 | 22.79 | 862.06 | 32.74 |
Category /wp-admin/edit-tags.php?taxonomy=news-category&post_type=news | 1,316 | 2.12 | 36.12 | 34.47 |
Slider Settings /wp-admin/edit.php?post_type=news&page=nwowls-settings | 1,256 | 1.68 | 27.84 | 30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 23 options
- widget_theysaidso_widget
- nwowls_news_show_date
- nwowls_news_show_category
- nwowls_news_auto_play
- nwowls_news_pagination
- nwowls_news_nav
- can_compress_scripts
- nwowls_news_loop_length
- nwowls_news_hover_pause
- nwowls_news_order
- ...
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 everything seems fine, this is not an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
simple-news-list-and-slider/news-slider.php 85% from 13 tests
Analyzing the main PHP file in "Simple News and Slider" version 1.1.0
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-news-list-and-slider.php" instead of "news-slider.php")
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
No dangerous file extensions were detected5,957 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 492 | 70 | 3,128 |
JavaScript | 7 | 497 | 971 | 2,033 |
PHP | 6 | 22 | 29 | 716 |
Markdown | 1 | 42 | 0 | 80 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
11 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/owl-logo.png | 13.38KB | 4.10KB | ▼ 69.35% |
assets/img/bird_blue_32.png | 1.32KB | 0.33KB | ▼ 75.15% |
assets/img/feature-drag.png | 8.18KB | 2.08KB | ▼ 74.56% |
assets/img/download.png | 3.66KB | 0.20KB | ▼ 94.45% |
assets/img/twitter_25.png | 4.33KB | 0.72KB | ▼ 83.31% |