Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.31MB] [CPU: ▼17.32ms] Passed 4 tests
An overview of server-side resources used by Launchpad Article Feedback
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 24.90 ▼15.70 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.54 ▼4.44 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.56 ▲1.92 |
Add New Post /wp-admin/post-new.php | 4.63 ▼1.25 | 44.66 ▼48.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.56 ▼0.47 |
Launchpad Article Feedback /wp-admin/options-general.php?page=article-feeback-settings | 3.21 | 28.82 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
feedback_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Launchpad Article Feedback
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲213 | 13.72 ▼0.68 | 5.70 ▲3.85 | 36.70 ▼7.34 |
Dashboard /wp-admin | 2,243 ▲55 | 5.24 ▲0.37 | 109.52 ▼4.84 | 42.06 ▼0.98 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.32 ▲0.30 | 41.84 ▲6.24 | 33.89 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.26 ▼0.09 | 634.01 ▼21.98 | 35.83 ▼27.77 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.39 ▲0.18 | 103.23 ▲4.64 | 45.89 ▲2.63 |
Launchpad Article Feedback /wp-admin/options-general.php?page=article-feeback-settings | 1,436 | 2.39 | 47.27 | 55.05 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- feedback_options
- widget_theysaidso_widget
- widget_recent-posts
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+380
Undefined index: lp-select-position
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+394
Undefined index: lp-show-on
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+401
Undefined index: lp-title-phrase-1
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+408
Undefined index: lp-title-phrase-2
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+415
Undefined index: lp-title-phrase-3
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+422
Undefined index: lp-title-phrase-4
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+429
Undefined index: lp-title-phrase-5
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+436
Undefined index: lp-title-phrase-6
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+443
Undefined index: lp-title-phrase-7
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+450
Undefined index: lp-title-phrase-8
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+457
Undefined index: lp-title-phrase-9
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+464
Undefined index: lp-title-phrase-10
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+471
Undefined index: lp-your-name
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+477
Undefined index: lp-your-email
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+483
Undefined index: lp-button-yes
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+489
Undefined index: lp-button-no
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+495
Undefined index: lp-button-submit
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+501
Undefined index: lp-facebook-url
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+507
Undefined index: lp-pinterest-url
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+513
Undefined index: lp-exclude-on
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+521
Undefined index: lp-color-yes
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/launchpad-article-feedback/index.php+527
Undefined index: lp-color-no
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/launchpad-article-feedback/index.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: wordpress article feedback, article feedback, launchpad article feedback, article reviews, was this article helpful...
launchpad-article-feedback/index.php 85% from 13 tests
The main PHP script in "Launchpad Article Feedback" version 1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("launchpad-article-feedback.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin3,778 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 36 | 16 | 2,360 |
SVG | 1 | 0 | 0 | 655 |
PHP | 1 | 49 | 64 | 453 |
PO File | 2 | 90 | 90 | 228 |
JavaScript | 2 | 21 | 60 | 82 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 1 | 4.17% |
▷ Private methods | 1 | 4.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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.23MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 233.12KB | 108.14KB | ▼ 53.61% |
assets/images/csscheckbox_82405711c484478c3bbca93e304dc9c3.png | 0.49KB | 0.46KB | ▼ 5.78% |