Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.54ms] Passed 4 tests
A check of server-side resources used by WParty
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.65 ▼2.83 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.85 ▼4.95 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.34 ▲3.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.77 ▼10.34 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.11 ▲5.21 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WParty
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲30 | 13.62 ▼0.75 | 1.64 ▼0.57 | 42.63 ▼2.09 |
Dashboard /wp-admin | 2,207 ▲36 | 5.91 ▲0.05 | 99.97 ▼16.12 | 39.60 ▼7.40 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 40.84 ▲5.88 | 37.18 ▲4.51 |
Add New Post /wp-admin/post-new.php | 1,517 ▼19 | 17.67 ▼5.58 | 690.69 ▲15.87 | 64.46 ▲18.33 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.17 ▼0.03 | 95.93 ▼2.94 | 44.00 ▲1.42 |
WParty /wp-admin/wparty.php | 26 | 0.44 | 0.08 | 16.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wparty/wparty-theme.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wparty/wparty-admin.php:162
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wparty/wparty-theme.php:7
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/wparty.php
- > Network (severe)
wp-admin/wparty.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wparty ===
) - Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
wparty/wparty.php 92% from 13 tests
The principal PHP file in "WParty" v. 1.8.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 156 characters long)
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
No dangerous file extensions were detected10,272 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 982 | 47 | 6,181 |
PHP | 17 | 868 | 894 | 3,691 |
Markdown | 1 | 155 | 0 | 356 |
JavaScript | 3 | 2 | 16 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 82.50 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 1 | 1.06% |
▷ Public methods | 4 | 4.26% |
▷ Protected methods | 90 | 95.74% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin