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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.16ms] Passed 4 tests
This is a short check of server-side resources used by WpConcierges LinkedIn Insights
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.74 ▲7.58 |
Dashboard /wp-admin | 3.44 ▲0.09 | 49.60 ▼5.24 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 43.68 ▼1.17 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 81.28 ▼17.80 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 43.04 ▲10.04 |
WPConcierges Linkedin Insights /wp-admin/tools.php?page=lkinsight | 3.33 | 32.57 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WpConcierges LinkedIn Insights
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.24 ▼0.11 | 1.90 ▲0.17 | 42.79 ▲4.14 |
Dashboard /wp-admin | 2,200 ▲23 | 5.50 ▼0.12 | 86.18 ▼15.75 | 40.12 ▼7.70 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.02 ▲0.03 | 36.03 ▲0.41 | 33.96 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.18 ▼0.22 | 657.42 ▲6.48 | 52.43 ▼0.25 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.21 ▲0.04 | 96.03 ▼2.79 | 40.63 ▼1.64 |
WPConcierges Linkedin Insights /wp-admin/tools.php?page=lkinsight | 874 | 1.99 | 21.72 | 26.45 |
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
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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 fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wpconcierges-linkedin-insights/admin/partials/lkinsight-admin-page-settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpconcierges-linkedin-insights/admin/partials/lkinsight-admin-field-text.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpconcierges-linkedin-insights/admin/partials/lkinsight-admin-field-textarea.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wpconcierges-linkedin-insights/admin/partials/lkinsight-admin-section-messages.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wpconcierges-linkedin-insights ===
)
wpconcierges-linkedin-insights/lkinsight.php 77% from 13 tests
"WpConcierges LinkedIn Insights" version 1.0.4'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:
- Main file name: Name the main plugin file the same as the plugin slug ("wpconcierges-linkedin-insights.php" instead of "lkinsight.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin580 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 315 | 693 | 574 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 4 | 8.00% |
▷ Public methods | 39 | 78.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 22.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin