Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.44MB] [CPU: ▼44.64ms] Passed 4 tests
An overview of server-side resources used by Quick Post Management
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.69 ▼1.74 |
Dashboard /wp-admin | 2.51 ▼0.80 | 13.47 ▼35.09 |
Posts /wp-admin/edit.php | 2.51 ▼0.85 | 11.86 ▼33.67 |
Add New Post /wp-admin/post-new.php | 2.51 ▼3.38 | 12.58 ▼87.76 |
Media Library /wp-admin/upload.php | 2.51 ▼0.72 | 10.51 ▼22.05 |
QPM /wp-admin/options-general.php?page=qpm | 2.51 | 11.76 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
qpm_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Post Management
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲64 | 13.74 ▼0.62 | 1.70 ▼0.20 | 47.04 ▲2.93 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼1.02 | 101.49 ▼5.80 | 39.56 ▼4.09 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 36.38 ▼4.74 | 31.69 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.46 ▼0.89 | 660.64 ▲37.70 | 48.94 ▼3.83 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.15 ▼0.09 | 95.69 ▼4.39 | 41.37 ▼4.27 |
QPM /wp-admin/options-general.php?page=qpm | 986 | 2.02 | 21.95 | 39.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/quick-post-management/qpm_admin.php+39
Undefined index: post_id
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- qpm_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=qpm
- > Notice in wp-content/plugins/quick-post-management/qpm_admin.php+39
Undefined index: post_id
- > GET request to /wp-admin/options-general.php?page=qpm
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
- > GET request to /wp-admin/options-general.php?page=qpm
- > Notice in wp-content/plugins/quick-post-management/qpm_settings.php+13
Undefined index: qpmnonce
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (54 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin page), #2 (Post page)
quick-post-management/index.php 85% from 13 tests
Analyzing the main PHP file in "Quick Post Management" version 0.0.6
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("quick-post-management.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected502 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 125 | 25 | 347 |
PO File | 1 | 50 | 50 | 136 |
HTML | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 33.15KB | 17.73KB | ▼ 46.53% |
screenshot-2.png | 142.80KB | 47.59KB | ▼ 66.68% |