Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.64ms] Passed 4 tests
Server-side resources used by Lorem Ipsum by Webline
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 45.41 ▲4.30 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.60 ▼9.17 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.55 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.69 ▼7.09 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.01 ▼3.16 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
lipsum_wli |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Lorem Ipsum by Webline: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.47 ▲0.33 | 1.73 ▼0.04 | 41.72 ▼3.16 |
Dashboard /wp-admin | 2,222 ▲34 | 4.86 ▼0.05 | 98.79 ▼17.25 | 36.20 ▼11.85 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.03 | 40.21 ▲3.74 | 34.00 ▲3.04 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 23.42 ▲5.99 | 648.09 ▼35.23 | 55.85 ▲2.81 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.30 ▲0.08 | 95.75 ▼4.60 | 44.45 ▲1.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method lipsum_wli::lipsum_delete_option_value() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/lorem-ipsum-by-webline/Public/inc/shortcode.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lorem-ipsum-by-webline/Public/class/lorem-ipsum-wli.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: lorem ipsum generator, lorem ipsum, content generator, lorem ipsum shortcode generator, shortcode generator...
lorem-ipsum-by-webline/lorem-ipsum-by-webline.php Passed 13 tests
The main PHP file in "Lorem Ipsum by Webline" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
67 characters long description:
A Simple plugin to generate lorem ipsum dummy text using shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected349 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 42 | 23 | 211 |
JavaScript | 1 | 22 | 15 | 128 |
CSS | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin