Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.77ms] Passed 4 tests
Server-side resources used by WP Lorem ipsum
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.81 ▼5.37 |
Dashboard /wp-admin | 3.35 ▲0.00 | 43.31 ▼17.73 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.47 ▼5.23 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 78.25 ▼18.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.20 ▼4.70 |
WP Lorem ipsum /wp-admin/options-general.php?page=wp-lorem-ipsum | 3.24 | 29.48 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Lorem ipsum: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.60 ▼0.93 | 1.68 ▲0.05 | 39.58 ▼4.09 |
Dashboard /wp-admin | 2,212 ▲21 | 5.85 ▲0.94 | 100.06 ▲0.59 | 39.27 ▼5.50 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▼0.00 | 38.35 ▼3.13 | 34.92 ▼2.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.29 ▲0.13 | 632.92 ▼5.74 | 57.98 ▼0.15 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.26 ▲0.02 | 93.27 ▼16.25 | 43.24 ▼4.65 |
WP Lorem ipsum /wp-admin/options-general.php?page=wp-lorem-ipsum | 1,033 | 2.18 | 24.32 | 25.75 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-lorem-ipsum/admin/class-wpli-admin.php:345
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: page, post thumbnail, lorem ipsum, database, post type...
wp-lorem-ipsum/wp-lorem-ipsum.php Passed 13 tests
Analyzing the main PHP file in "WP Lorem ipsum" version 3.2
105 characters long description:
Automatically create new fake posts to fill the database and get a very good impression for your website.
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 detected540 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 80 | 0 | 320 |
PHP | 3 | 82 | 92 | 205 |
CSS | 1 | 3 | 0 | 15 |
PHP code Passed 2 tests
An overview 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.27 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 6 | 54.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 45.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.20MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 105.23KB | 111.90KB | 0.00% |
screenshot-2.png | 61.43KB | 63.50KB | 0.00% |
screenshot-1.png | 35.52KB | 36.17KB | 0.00% |