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.04MB] [CPU: ▼5.52ms] Passed 4 tests
This is a short check of server-side resources used by Master IDs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.17 ▲1.47 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.76 ▼3.59 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.74 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.76 ▼16.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.49 ▲4.55 |
Master IDs /wp-admin/options-general.php?page=master-ids | 3.25 | 28.69 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Master IDs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.48 ▼0.13 | 1.83 ▼0.05 | 42.47 ▼0.32 |
Dashboard /wp-admin | 2,210 ▲28 | 4.80 ▼1.02 | 111.68 ▲4.60 | 45.80 ▲3.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 39.67 ▼0.76 | 35.71 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,537 ▼0 | 23.19 ▲4.98 | 640.83 ▲21.05 | 50.69 ▼13.69 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.05 | 96.56 ▼1.63 | 42.47 ▼1.61 |
Master IDs /wp-admin/options-general.php?page=master-ids | 815 | 2.02 | 28.64 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Choose a Post Type), #2 (Find the respective posts titles and IDs)
master-ids/master-ids.php Passed 13 tests
"Master IDs" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
56 characters long description:
Easily find the ID for a page, post or custom post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin182 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 138 | 129 |
PO File | 1 | 17 | 40 | 53 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 3 | 27.27% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 39.00KB | 12.04KB | ▼ 69.12% |
screenshot-2.png | 76.80KB | 24.62KB | ▼ 67.94% |