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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.09MB] [CPU: ▼9.55ms] Passed 4 tests
Analyzing server-side resources used by Simple Post Meta
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.91 ▲1.91 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.41 ▼1.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.90 ▼3.61 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.43 | 76.03 ▼34.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.13 ▲1.76 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Post Meta
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.01 | 1.94 ▼0.28 | 43.87 ▼2.93 |
Dashboard /wp-admin | 2,196 ▲16 | 5.53 ▼0.12 | 87.83 ▼1.78 | 37.76 ▼2.87 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.01 ▲0.02 | 35.55 ▼1.40 | 33.23 ▼3.41 |
Add New Post /wp-admin/post-new.php | 6,299 ▲4,771 | 25.73 ▲3.08 | 909.61 ▲256.64 | 67.67 ▼11.86 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.03 | 112.97 ▲3.79 | 47.12 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
Good news, no errors were detected
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-post-meta/simple-post-meta.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 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
No tags were found
simple-post-meta/simple-post-meta.php Passed 13 tests
This is the main PHP file of "Simple Post Meta" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
135 characters long description:
Simple Post Meta is awsome plugin for show post id, post aurthor, post type, post slug, and all meta information related to post, page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin129 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 33 | 109 |
CSS | 1 | 0 | 0 | 12 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 38.98KB | 20.23KB | ▼ 48.09% |