Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/santapan-minda/santapanminda.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; SantapanMindaWidget has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼187.24ms] Passed 4 tests
This is a short check of server-side resources used by Santapan Minda
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.78 ▼1.06 | 4.65 ▼32.98 |
Dashboard /wp-admin | 1.80 ▼1.26 | 10.65 ▼35.16 |
Posts /wp-admin/edit.php | 1.80 ▼1.31 | 6.78 ▼33.49 |
Add New Post /wp-admin/post-new.php | 1.80 ▼3.64 | 5.14 ▼647.31 |
Media Library /wp-admin/upload.php | 1.80 ▼1.21 | 5.92 ▼27.08 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_santapanmindawidget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Santapan Minda
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.80 ▲0.22 | 10.09 ▲0.77 | 50.19 ▲3.91 |
Dashboard /wp-admin | 2,967 ▲33 | 5.95 ▲0.04 | 134.02 ▼5.93 | 117.22 ▲3.35 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.85 ▼0.00 | 69.13 ▲6.64 | 88.48 ▼8.96 |
Add New Post /wp-admin/post-new.php | 1,500 ▼172 | 18.56 ▼0.33 | 361.70 ▼26.09 | 107.75 ▼1.93 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.03 ▼0.01 | 147.09 ▼2.84 | 119.34 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/santapan-minda/santapanminda.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; SantapanMindaWidget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 1 option
- widget_santapanmindawidget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== santapan-minda ===
) - Screenshots: Screenshot #1 (Contoh paparan widget SantapanMinda screenshot-1.jpg.) image missing
santapan-minda/santapanminda.php 92% from 13 tests
The main PHP file in "Santapan Minda" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("santapan-minda.php" instead of "santapanminda.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 25 | 42 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected