Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.09ms] Passed 4 tests
Server-side resources used by Melabu WP Latest Posts Slides
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 40.93 ▲2.30 |
Dashboard /wp-admin | 3.72 ▲0.37 | 50.06 ▼8.24 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 53.05 ▲9.04 |
Add New Post /wp-admin/post-new.php | 4.94 ▼0.95 | 51.22 ▼43.46 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 42.33 ▲9.03 |
About /wp-admin/admin.php?page=melibu-plugin-latest-admin-control-menu-2 | 3.62 | 37.58 |
MB LPS /wp-admin/admin.php?page=melibu-plugin-latest | 3.60 | 36.51 |
Options /wp-admin/admin.php?page=melibu-plugin-latest-admin-control-menu-1 | 3.69 | 37.14 |
Server storage [IO: ▲6.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 81 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_melibu_lps |
New WordPress options |
---|
widget_theysaidso_widget |
melibu-plugin-lps-db-version |
widget_recent-comments |
db_upgraded |
melibu-plugin-lps-version |
widget_recent-posts |
widget_latest-posts-slides-id |
can_compress_scripts |
theysaidso_admin_options |
mb-lps-admin-colors |
Browser metrics Passed 4 tests
A check of browser resources used by Melabu WP Latest Posts Slides
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.79 ▲0.21 | 2.78 ▲0.92 | 44.23 ▲4.11 |
Dashboard /wp-admin | 2,275 ▲89 | 5.10 ▲0.21 | 106.55 ▼2.89 | 79.96 ▲38.63 |
Posts /wp-admin/edit.php | 2,152 ▲84 | 2.58 ▲0.56 | 42.92 ▲6.45 | 35.34 ▲1.77 |
Add New Post /wp-admin/post-new.php | 6,301 ▲4,768 | 26.13 ▲2.89 | 1,005.63 ▲323.34 | 39.83 ▼24.60 |
Media Library /wp-admin/upload.php | 1,466 ▲84 | 4.47 ▲0.23 | 98.01 ▼13.35 | 77.87 ▲33.85 |
About /wp-admin/admin.php?page=melibu-plugin-latest-admin-control-menu-2 | 1,361 | 2.00 | 33.06 | 60.31 |
MB LPS /wp-admin/admin.php?page=melibu-plugin-latest | 1,199 | 1.96 | 26.03 | 74.80 |
Options /wp-admin/admin.php?page=melibu-plugin-latest-admin-control-menu-1 | 2,624 | 2.01 | 30.23 | 57.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- widget_latest-posts-slides-id
- mb-lps-admin-colors
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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 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
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/appearance.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/optionsobj.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function options() on null in wp-content/plugins/latest-posts-slides/html/panel.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/latest-posts-slides/classes/class.MelibuLPSshortWidget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/latest-posts-slides/classes/class.MelibuFrontend.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/latest-posts-slides/html/main/permission.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: recent, melibu, melabu wp latest posts slides, latest, melabu...
latest-posts-slides/latest-posts-slides.php Passed 13 tests
The primary PHP file in "Melabu WP Latest Posts Slides" version 1.1.2.4 is used by WordPress to initiate all plugin functionality
100 characters long description:
Melabu WP Latest Posts Slides is a space-saving contribution Slider for last posts. Your Melibu Team
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,825 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 490 | 873 | 2,912 |
JavaScript | 17 | 172 | 472 | 979 |
PO File | 3 | 715 | 1,296 | 920 |
SVG | 1 | 0 | 1 | 9 |
CSS | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 7.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 4 | 6.06% |
▷ Public methods | 61 | 92.42% |
▷ Protected methods | 5 | 7.58% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 2.74MB with 1.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/other/shl.png | 616.38KB | 229.75KB | ▼ 62.73% |
img/other/author-box.png | 585.97KB | 185.30KB | ▼ 68.38% |
js/img/icon-MB-20.png | 1.97KB | 1.16KB | ▼ 41.49% |
img/other/bitlyback.png | 188.56KB | 56.58KB | ▼ 69.99% |
img/other/bitly.png | 12.09KB | 5.16KB | ▼ 57.36% |