Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.15MB] [CPU: ▼15.29ms] Passed 4 tests
A check of server-side resources used by xili Post in Post
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.81 ▼5.28 |
Dashboard /wp-admin | 3.21 ▼0.09 | 33.96 ▼21.36 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 35.72 ▼12.62 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 80.32 ▼21.89 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 30.09 ▼4.93 |
©xili Post in Post /wp-admin/options-general.php?page=xili_postinpost_page | 3.19 | 30.92 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_xilipostin |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
xili_postinpost_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for xili Post in Post
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲64 | 14.36 ▼0.19 | 1.62 ▼0.32 | 42.46 ▼1.81 |
Dashboard /wp-admin | 2,257 ▲86 | 5.82 ▲0.22 | 102.58 ▲4.83 | 42.68 ▼3.75 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.29 ▲0.26 | 48.16 ▲5.54 | 35.24 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.14 ▼0.44 | 616.52 ▼37.12 | 56.72 ▼1.06 |
Media Library /wp-admin/upload.php | 1,459 ▲59 | 4.32 ▲0.15 | 108.44 ▲0.32 | 49.52 ▲3.06 |
©xili Post in Post /wp-admin/options-general.php?page=xili_postinpost_page | 1,284 | 2.41 | 46.08 | 41.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_xilipostin
- widget_recent-comments
- widget_recent-posts
- xili_postinpost_settings
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=xili_postinpost_page
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xili-postinpost/class-xili-post-in-post-widget.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/xili-postinpost/xili-postinpost.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
xili-postinpost/xili-postinpost.php 92% from 13 tests
"xili Post in Post" version 1.7.02's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 272 characters long)
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
Success! There were no dangerous files found in this plugin1,444 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 160 | 182 | 1,107 |
PO File | 1 | 117 | 159 | 337 |
PHP code Passed 2 tests
An short overview of 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.32 |
Average class complexity | 71.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 7.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 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 | 2 | |
▷ Global constants | 2 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
xilipostinpost-logo-32.png | 1.46KB | 1.48KB | 0.00% |