Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/link-party/includes/install.php+57
Undefined variable: upload_dir
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.49ms] Passed 4 tests
A check of server-side resources used by illi Link Party!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.24 ▲15.27 |
Dashboard /wp-admin | 3.06 ▲0.00 | 44.88 ▼6.36 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 47.80 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.19 ▼554.33 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 31.80 ▼14.40 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: 3 new tables, 2 new options
New tables |
---|
wp_illi_Parties |
wp_illi |
wp_illi_Submissions |
New WordPress options |
---|
illi_DB_Version |
illi_Version |
Browser metrics Passed 4 tests
illi Link Party!: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.22 ▲0.66 | 8.55 ▼0.50 | 49.86 ▼0.54 |
Dashboard /wp-admin | 2,973 ▲42 | 5.87 ▼0.24 | 139.85 ▼11.19 | 121.82 ▲10.19 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.01 | 65.92 ▼3.23 | 99.91 ▲5.89 |
Add New Post /wp-admin/post-new.php | 1,498 ▼185 | 18.82 ▲0.06 | 378.43 ▼3.48 | 108.98 ▼11.27 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▲0.02 | 154.49 ▼1.78 | 119.40 ▼6.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure failed, leaving 3 tables in the database
- wp_illi
- wp_illi_Submissions
- wp_illi_Parties
- This plugin did not uninstall successfully, leaving 2 options in the database
- illi_Version
- illi_DB_Version
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(RL_BASE_INC/functions.php): failed to open stream: No such file or directory in wp-content/plugins/link-party/includes/core.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/link-party/illi.php:36
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/link-party/includes/install.php:22
- > PHP Warning
Use of undefined constant RL_BASE_INC - assumed 'RL_BASE_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/link-party/includes/core.php on line 2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/link-party/includes/install.php on line 4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/link-party/includes/install.php on line 5
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/link-party/includes/functions.php on line 462
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/link-party/includes/admin.php on line 276
- > PHP Fatal error
require_once(): Failed opening required 'RL_BASE_INC/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/link-party/includes/core.php on line 2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/link-party/includes/install.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== link-party ===
)
link-party/illi.php 85% from 13 tests
"illi Link Party!" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 332 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("link-party.php" instead of "illi.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
There were no executable files found in this plugin697 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 274 | 127 | 697 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin