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.08MB] [CPU: ▼15.00ms] Passed 4 tests
Server-side resources used by mi13-like
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.94 ▼1.31 |
Dashboard /wp-admin | 3.40 ▲0.06 | 48.68 ▼36.37 |
Posts /wp-admin/edit.php | 3.46 ▲0.09 | 53.76 ▼6.80 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.09 | 86.53 ▼14.00 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 37.41 ▼2.84 |
mi13-like /wp-admin/options-general.php?page=mi13_like | 3.31 | 35.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
mi13_like |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for mi13-like
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▼0.12 | 1.65 ▼0.01 | 46.50 ▲2.42 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▼0.08 | 84.44 ▼16.78 | 39.53 ▼3.65 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▼0.11 | 40.48 ▲2.52 | 38.99 ▲2.70 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.56 ▲0.04 | 687.11 ▼29.77 | 63.37 ▲9.25 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.17 ▼0.04 | 109.64 ▲9.48 | 49.02 ▲3.29 |
mi13-like /wp-admin/options-general.php?page=mi13_like | 1,134 | 2.25 | 29.10 | 28.03 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2 in mi13-like/assets to your readme.txt
mi13-like/mi13-like.php Passed 13 tests
The entry point to "mi13-like" version 0.151 is a PHP file that has certain tags in its header comment area
32 characters long description:
The plugin likes for your posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin837 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 19 | 442 |
CSS | 3 | 8 | 5 | 193 |
PO File | 1 | 24 | 31 | 64 |
JavaScript | 3 | 6 | 6 | 63 |
HTML | 1 | 2 | 2 | 62 |
SVG | 1 | 0 | 0 | 12 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 18 | |
▷ Named functions | 18 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot1.png | 4.46KB | 2.89KB | ▼ 35.24% |