Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.02ms] Passed 4 tests
An overview of server-side resources used by NS Simple Intro Loader
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 47.69 ▲7.64 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.27 ▼5.51 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.74 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.09 | 96.48 ▼5.23 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 37.45 ▲4.07 |
How to install premium version /wp-admin/admin.php?page=how-to-install-premium-version | 3.25 | 32.22 |
Simple Intro Loader /wp-admin/admin.php?page=ns-simple-intro-loader/ns-admin-options/ns_admin_option_dashboard.php | 3.29 | 35.45 |
/wp-admin/admin.php?page=plugineye257 | 3.27 | 42.59 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for NS Simple Intro Loader
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲225 | 13.58 ▼1.02 | 11.92 ▲10.09 | 43.83 ▲0.10 |
Dashboard /wp-admin | 2,212 ▲35 | 5.60 ▼0.00 | 84.84 ▼3.91 | 87.01 ▲50.14 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.02 ▼0.03 | 37.59 ▲0.76 | 34.45 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 18.42 ▲0.77 | 722.80 ▲27.26 | 60.20 ▲5.64 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.24 ▲0.02 | 99.90 ▲0.56 | 83.71 ▲38.97 |
How to install premium version /wp-admin/admin.php?page=how-to-install-premium-version | 693 | 1.14 | 6.67 | 17.02 |
Simple Intro Loader /wp-admin/admin.php?page=ns-simple-intro-loader/ns-admin-options/ns_admin_option_dashboard.php | 1,502 | 9.27 | 253.84 | 54.01 |
/wp-admin/admin.php?page=plugineye257 | 924 | 2.02 | 25.98 | 25.47 |
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 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=how-to-install-premium-version
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ns-simple-intro-loader/assets/js/ns-simple-intro-loader-custom.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ns-simple-intro-loader/ns-admin-options/inc.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-simple-intro-loader/plugineye/plugineye-ajax/plugineye_on_deactivation_function.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Settings Simple Loader.), #2 (View simple loader example.)
- Tags: There are too many tags (11 tag instead of maximum 10)
ns-simple-intro-loader/ns-simple-intro-loader.php 92% from 13 tests
The principal PHP file in "NS Simple Intro Loader" v. 2.2.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,286 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 65 | 183 | 630 |
CSS | 5 | 51 | 22 | 539 |
PO File | 1 | 35 | 35 | 88 |
JavaScript | 2 | 4 | 12 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 26.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 73.68% |
Functions | 18 | |
▷ Named functions | 8 | 44.44% |
▷ Anonymous functions | 10 | 55.56% |
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
5 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 33.56KB | 4.77KB | ▼ 85.79% |
screenshot-1.png | 29.59KB | 7.17KB | ▼ 75.77% |
ns-admin-options/img/ns_banner_membership-500.png | 24.95KB | 26.27KB | 0.00% |
ns-admin-options/img/backend-sidebar-icon.png | 1.48KB | 0.54KB | ▼ 63.47% |
ns-admin-options/img/ns-theme-promo.png | 29.37KB | 8.96KB | ▼ 69.50% |