Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.00ms] Passed 4 tests
A check of server-side resources used by Logo Slider Ninetyseven Infotech
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.85 ▼6.12 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.71 ▼1.51 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.64 ▼2.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.37 ▼3.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.05 ▼3.94 |
Add New Logo /wp-admin/post-new.php?post_type=nsi-logo-slider | 3.39 | 47.35 |
All Logos /wp-admin/edit.php?post_type=nsi-logo-slider | 3.30 | 33.07 |
Logo Category /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=nsi-logo-slider | 3.25 | 31.15 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Logo Slider Ninetyseven Infotech
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.22 ▼1.16 | 4.54 ▲2.73 | 43.29 ▼5.74 |
Dashboard /wp-admin | 2,241 ▲53 | 4.85 ▼0.03 | 111.71 ▲3.91 | 41.06 ▼3.16 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 1.97 ▼0.06 | 40.60 ▼0.93 | 36.78 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 23.41 ▲5.32 | 638.13 ▼18.51 | 51.97 ▼7.89 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.29 ▲0.08 | 97.77 ▲0.93 | 42.97 ▼0.37 |
Add New Logo /wp-admin/post-new.php?post_type=nsi-logo-slider | 2,316 | 7.74 | 185.28 | 75.17 |
All Logos /wp-admin/edit.php?post_type=nsi-logo-slider | 1,096 | 2.01 | 34.18 | 43.92 |
Logo Category /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=nsi-logo-slider | 1,300 | 2.15 | 25.37 | 26.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/logo-slider-ninetyseven-infotech/includes/nsi-logo-cpt.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant NSI_HACK_MSG - assumed 'NSI_HACK_MSG' (this will throw an Error in a future version of PHP) in wp-content/plugins/logo-slider-ninetyseven-infotech/includes/nsi-logo-cpt.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/logo-slider-ninetyseven-infotech/includes/nsi-logo-metabox.php:13
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
logo-slider-ninetyseven-infotech/logo-slider-ninetyseveninfotech.php 77% from 13 tests
The main PHP file in "Logo Slider Ninetyseven Infotech" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 154 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("logo-slider-ninetyseven-infotech.php" instead of "logo-slider-ninetyseveninfotech.php")
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 detected612 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 65 | 125 | 405 |
CSS | 2 | 9 | 1 | 136 |
JavaScript | 2 | 8 | 2 | 71 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/arrow-left.png | 1.15KB | 0.17KB | ▼ 85.11% |
assets/css/arrow-right.png | 1.15KB | 0.18KB | ▼ 84.62% |