Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.33ms] Passed 4 tests
An overview of server-side resources used by Common Ninja: Fully Customizable & Perfectly Responsive Free Widgets for WordPress Websites
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.53 ▼4.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.17 ▼6.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.15 ▼3.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.20 ▲4.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 46.48 ▲11.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Common Ninja: Fully Customizable & Perfectly Responsive Free Widgets for WordPress Websites
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.39 ▲0.17 | 37.02 ▲34.61 | 36.79 ▼10.90 |
Dashboard /wp-admin | 2,206 ▲18 | 5.80 ▲0.91 | 97.72 ▼23.17 | 37.57 ▼10.34 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 38.60 ▲1.05 | 35.17 ▼0.34 |
Add New Post /wp-admin/post-new.php | 6,583 ▲5,046 | 29.42 ▲6.36 | 898.48 ▲267.30 | 56.41 ▼2.62 |
Media Library /wp-admin/upload.php | 1,388 ▲9 | 4.24 ▲0.08 | 102.32 ▼3.55 | 46.16 ▲1.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/common-ninja/commonninja.php:39
- > PHP Fatal error
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 76% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 26 tag instead of maximum 10
common-ninja/commonninja.php 54% from 13 tests
The principal PHP file in "Common Ninja: Fully Customizable & Perfectly Responsive Free Widgets for WordPress Websites" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("common-ninja.php" instead of "commonninja.php")
- Text Domain: Please use dashes and lowercase characters for text domains
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "5.2")
- Domain Path: The domain path must begin with a forward slash character ("/")
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin97 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 3 | 1 | 70 |
PHP | 1 | 17 | 40 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 4 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 5.44KB | 2.64KB | ▼ 51.49% |