Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.46ms] Passed 4 tests
An overview of server-side resources used by Mooberry Show Latest Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.03 ▼4.75 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.37 ▼15.83 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.48 ▲3.64 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.89 ▼8.91 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.93 ▲5.45 |
Show Latest Posts /wp-admin/options-general.php?page=mbdslp-show-latests-posts | 3.25 | 33.92 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
mbdslp_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mooberry Show Latest Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.25 ▼1.02 | 1.78 ▲0.22 | 37.71 ▼4.80 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.06 | 111.39 ▲0.76 | 40.13 ▼6.32 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.03 | 39.44 ▲0.61 | 34.31 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,536 ▼9 | 23.29 ▲5.01 | 655.54 ▲43.31 | 56.33 ▲2.03 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▲0.05 | 95.15 ▼4.32 | 41.28 ▼1.65 |
Show Latest Posts /wp-admin/options-general.php?page=mbdslp-show-latests-posts | 853 | 2.06 | 23.36 | 26.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- mbdslp_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- 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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mooberry-show-latest-posts/admin-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mooberry-show-latest-posts/admin-options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: latest posts, most recent posts, archive, static front page, front page...
mooberry-show-latest-posts/mooberry-show-latest-posts.php Passed 13 tests
The main PHP script in "Mooberry Show Latest Posts" version 1.3 is automatically included on every request by WordPress
47 characters long description:
Show latest blog posts on the static front page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin187 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 56 | 187 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin