Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.85ms] Passed 4 tests
A check of server-side resources used by Light Bakso
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.14 ▼2.91 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.75 ▼4.19 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.07 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.82 ▼10.07 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.48 ▼0.69 |
All Slides /wp-admin/edit.php?post_type=lightbakso_carousel | 3.31 | 37.29 |
Add New Slide /wp-admin/post-new.php?post_type=lightbakso_carousel | 3.41 | 50.14 |
Settings /wp-admin/edit.php?post_type=lightbakso_carousel&page=lightbakso_settings | 3.23 | 35.56 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=lightbakso_carousel | 3.35 | 32.24 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
lightbakso_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Light Bakso
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,060 ▲274 | 13.79 ▼0.45 | 10.80 ▲8.42 | 45.12 ▲2.94 |
Dashboard /wp-admin | 2,260 ▲57 | 4.79 ▼0.18 | 103.90 ▼0.50 | 37.31 ▼2.25 |
Posts /wp-admin/edit.php | 2,139 ▲42 | 2.03 ▲0.02 | 37.10 ▲0.45 | 36.50 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,568 ▲19 | 18.81 ▼4.37 | 653.72 ▼23.06 | 67.22 ▲3.53 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.23 ▼0.04 | 103.50 ▼1.55 | 48.41 ▲2.69 |
All Slides /wp-admin/edit.php?post_type=lightbakso_carousel | 1,120 | 1.92 | 31.61 | 30.01 |
Add New Slide /wp-admin/post-new.php?post_type=lightbakso_carousel | 1,724 | 3.69 | 69.29 | 33.00 |
Settings /wp-admin/edit.php?post_type=lightbakso_carousel&page=lightbakso_settings | 1,291 | 1.71 | 24.78 | 30.99 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=lightbakso_carousel | 1,355 | 2.15 | 26.22 | 27.62 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: carousel, lightbox
light-bakso/light-bakso.php Passed 13 tests
The main PHP script in "Light Bakso" version 1.0.1 is automatically included on every request by WordPress
57 characters long description:
This is a wordpress carousel slider with lightbox effect,
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
Everything looks great! No dangerous files found in this plugin3,708 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 587 | 1,034 | 2,461 |
PHP | 10 | 173 | 488 | 739 |
CSS | 9 | 50 | 68 | 428 |
Markdown | 1 | 42 | 0 | 80 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
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
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/lib/owlcarousel/dist/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
public/lib/lightbox2/dist/images/next.png | 1.32KB | 1.58KB | 0.00% |
public/lib/lightbox2/dist/images/close.png | 0.27KB | 0.29KB | 0.00% |
public/lib/lightbox2/dist/images/prev.png | 1.33KB | 1.59KB | 0.00% |