Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.78ms] Passed 4 tests
This is a short check of server-side resources used by Inperium Sell
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.58 ▲2.07 |
Dashboard /wp-admin | 3.44 ▲0.13 | 51.46 ▲9.28 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.23 ▲0.32 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.22 ▼10.11 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.77 ▲4.60 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_inperium_forms |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
inperium_db_version |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Inperium Sell
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲161 | 13.92 ▼0.45 | 9.95 ▲8.38 | 43.21 ▼1.56 |
Dashboard /wp-admin | 2,227 ▲47 | 5.70 ▲0.04 | 88.01 ▼2.35 | 62.81 ▲18.35 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 2.18 ▲0.19 | 34.25 ▼7.11 | 35.14 ▲3.89 |
Add New Post /wp-admin/post-new.php | 1,710 ▲184 | 22.35 ▼1.19 | 680.06 ▲75.46 | 96.06 ▲35.23 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.24 ▲0.07 | 107.30 ▲6.44 | 74.55 ▲27.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/inperium-sell/admin/partials/inperium-admin-form-editor.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/inperium-sell/admin/partials/inperium-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: crm, formbuilder, e-commerce, commerce, inperium
inperium-sell/inperium-sell.php 85% from 13 tests
The principal PHP file in "Inperium Sell" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 145 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,280 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 54 | 48 | 1,289 |
PHP | 14 | 302 | 757 | 931 |
JavaScript | 3 | 4 | 3 | 55 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 41 | 83.67% |
▷ Protected methods | 2 | 4.08% |
▷ Private methods | 6 | 12.24% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin