Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.37ms] Passed 4 tests
An overview of server-side resources used by Laiser Tag Insights
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.43 ▲0.60 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.17 ▼5.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.35 ▼5.58 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.11 ▼3.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.93 ▲3.54 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 116 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Laiser Tag Insights: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.36 ▼0.99 | 1.69 ▲0.08 | 43.60 ▼1.66 |
Dashboard /wp-admin | 2,224 ▲18 | 4.85 ▼1.00 | 102.54 ▼2.89 | 36.74 ▼9.98 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.05 ▲0.01 | 37.27 ▼5.70 | 31.65 ▼9.01 |
Add New Post /wp-admin/post-new.php | 1,545 ▲5 | 23.31 ▲0.18 | 664.12 ▲43.08 | 64.63 ▼26.35 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.27 ▲0.03 | 99.68 ▼2.65 | 46.17 ▼2.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/laiser-tag-insights/templates/graphs.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: lti_ltbb_issues in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 619
- > PHP Notice
Undefined variable: lti_ltbb_email in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 518
- > PHP Notice
Undefined variable: lti_ltbb_status in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 557
- > PHP Warning
Use of undefined constant LTI_ASSETS_URL - assumed 'LTI_ASSETS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 21
- > PHP Notice
Undefined variable: lti_ltbb_status in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 568
- > PHP Notice
Undefined variable: lti_ltbb_status in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 573
- > PHP Notice
Undefined variable: lti_ltbb_api_oauth in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 525
- > PHP Notice
Undefined variable: lti_ltbb_in_active_site_list in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 600
- > PHP Notice
Undefined variable: lti_ltbb_valid_gw in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 584
- > PHP Notice
Undefined variable: lti_ltbb_status in wp-content/plugins/laiser-tag-insights/templates/graphs.php on line 563
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% 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
5 plugin tags: tagging, open calais, content optimization, taxonomy, semantic data
laiser-tag-insights/laisertaginsights.php 92% from 13 tests
The main PHP file in "Laiser Tag Insights" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("laiser-tag-insights.php" instead of "laisertaginsights.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin20,804 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 39 | 3,204 | 3,130 | 13,481 |
HTML | 28 | 724 | 27 | 2,934 |
Markdown | 6 | 790 | 0 | 2,160 |
PHP | 3 | 73 | 25 | 864 |
SQL | 2 | 0 | 0 | 717 |
CSS | 3 | 100 | 54 | 580 |
Bourne Shell | 1 | 4 | 0 | 34 |
JSON | 7 | 0 | 0 | 28 |
make | 1 | 4 | 2 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 25.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 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.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/flot/examples/background.png | 0.23KB | 0.33KB | 0.00% |
assets/img/lti_logo.png | 14.03KB | 5.95KB | ▼ 57.62% |