Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.23ms] Passed 4 tests
An overview of server-side resources used by Nice Search Slug
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.55 ▼1.31 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.71 ▼16.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.87 ▲2.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.03 ▼21.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.40 ▲1.88 |
Nice Search Setting /wp-admin/options-general.php?page=nice-search-slug | 3.21 | 31.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Nice Search Slug
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.25 ▼1.33 | 5.14 ▲3.30 | 42.27 ▲1.34 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.94 | 106.84 ▲2.63 | 42.03 ▼0.49 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.03 | 38.46 ▼4.41 | 35.26 ▼7.98 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.33 ▲0.42 | 586.24 ▼106.19 | 48.75 ▼7.34 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.07 | 97.94 ▼7.04 | 43.09 ▼2.88 |
Nice Search Setting /wp-admin/options-general.php?page=nice-search-slug | 823 | 2.01 | 23.83 | 27.32 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nice-search-slug/plus-to-minus.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Screen shot for setting page of the plugin.)
nice-search-slug/plus-to-minus.php 92% from 13 tests
"Nice Search Slug" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("nice-search-slug.php" instead of "plus-to-minus.php")
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
Everything looks great! No dangerous files found in this plugin135 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 19 | 68 |
PO File | 2 | 12 | 16 | 67 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/email.png | 1.65KB | 0.54KB | ▼ 67.02% |
images/twitter.png | 3.58KB | 0.79KB | ▼ 77.98% |
images/gplus.png | 1.93KB | 0.82KB | ▼ 57.71% |
1.png | 39.85KB | 18.56KB | ▼ 53.43% |