Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.18MB] [CPU: ▼18.27ms] Passed 4 tests
An overview of server-side resources used by LINICKX LifeStream
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.52 ▼7.09 |
Dashboard /wp-admin | 3.19 ▼0.15 | 32.16 ▼34.36 |
Posts /wp-admin/edit.php | 3.26 ▼0.10 | 36.40 ▼12.44 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 82.93 ▼19.19 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 34.10 ▼2.17 |
LifeStream /wp-admin/options-general.php?page=lnx_lifestream | 3.16 | 29.14 |
Server storage [IO: ▲0.10MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by LINICKX LifeStream
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.10 | 1.59 ▼0.54 | 46.27 ▲2.44 |
Dashboard /wp-admin | 2,204 ▲13 | 6.03 ▲1.13 | 102.60 ▼0.98 | 37.86 ▼6.59 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.04 | 41.08 ▲3.99 | 35.17 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.42 ▲0.30 | 657.72 ▼26.16 | 59.37 ▼2.37 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.32 ▲0.10 | 93.73 ▼7.12 | 39.85 ▼6.45 |
LifeStream /wp-admin/options-general.php?page=lnx_lifestream | 1,283 | 2.20 | 23.47 | 36.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > 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.
- 23 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > Notice in wp-content/plugins/linickx-lifestream/admin/main.php+95
Trying to access array offset on value of type bool
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > User deprecated in wp-includes/functions.php+5453
Function attribute_escape is deprecated since version 2.8.0! Use esc_attr() instead.
- 22 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > Notice in wp-content/plugins/linickx-lifestream/admin/main.php+95
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > Notice in wp-content/plugins/linickx-lifestream/admin/main.php+148
Undefined variable: update_cron_status
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > Notice in wp-content/plugins/linickx-lifestream/admin/main.php+172
Undefined variable: feeddb_file_status
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lnx_lifestream
- > Notice in wp-content/plugins/linickx-lifestream/admin/main.php+188
Undefined index: donate
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/linickx-lifestream/admin/help.inc.php
- > /wp-content/plugins/linickx-lifestream/admin/resetsure.php
- > /wp-content/plugins/linickx-lifestream/run.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: WPDIR in wp-content/plugins/linickx-lifestream/run.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/linickx-lifestream/admin/reset.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/linickx-lifestream/admin/showdb.php:9
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/linickx-lifestream/admin/resetsure.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/linickx-lifestream/lnx_lifestream.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linickx-lifestream/admin.php:4
- > PHP Notice
Undefined variable: WPDIR in wp-content/plugins/linickx-lifestream/run.php on line 27
- > PHP Warning
include_once(): Failed opening 'WP_PLUGIN_DIR/linickx-lifestream/uninstall.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/linickx-lifestream/admin/resetsure.php on line 8
- > PHP Warning
include_once(WP_PLUGIN_DIR/linickx-lifestream/uninstall.php): failed to open stream: No such file or directory in wp-content/plugins/linickx-lifestream/admin/resetsure.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/linickx-lifestream/admin/showurls.php:10
- > PHP Notice
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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== linickx-lifestream ===
) - Screenshots: Screenshot #1 (The Admin interface, where you set up the magic !) image required
linickx-lifestream/lnx_lifestream.php 92% from 13 tests
"LINICKX LifeStream" version 0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("linickx-lifestream.php" instead of "lnx_lifestream.php")
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
Good job! No executable or dangerous file extensions detected745 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 238 | 138 | 745 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 10 | |
▷ Named functions | 10 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 54.23KB | 20.28KB | ▼ 62.60% |
admin/donate.png | 10.26KB | 4.27KB | ▼ 58.36% |