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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.06MB] [CPU: ▼18.67ms] Passed 4 tests
This is a short check of server-side resources used by CRM Salesforce LearnDash Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.06 ▼6.00 |
Dashboard /wp-admin | 3.35 ▲0.00 | 34.10 ▼29.78 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 35.80 ▼12.00 |
Add New Post /wp-admin/post-new.php | 5.58 ▼0.31 | 73.15 ▼26.88 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.05 ▲2.07 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 580 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by CRM Salesforce LearnDash Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,450 ▼1,296 | 12.42 ▼0.79 | 1.80 ▼0.13 | 40.46 ▼3.49 |
Dashboard /wp-admin | 843 ▼1,345 | 1.38 ▼3.52 | 12.46 ▼105.75 | 19.49 ▼24.83 |
Posts /wp-admin/edit.php | 854 ▼1,235 | 1.14 ▼1.01 | 6.62 ▼30.75 | 16.50 ▼17.95 |
Add New Post /wp-admin/post-new.php | 580 ▼956 | 1.73 ▼21.73 | 19.44 ▼629.00 | 8.50 ▼48.79 |
Media Library /wp-admin/upload.php | 739 ▼646 | 1.73 ▼2.46 | 20.71 ▼82.62 | 19.94 ▼23.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- recovery_mode_email_last_sent
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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 | 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
Almost there! Just fix the following items
- 255× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/Node/IfNode.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/TokenParser/IncludeTokenParser.php:25
- > PHP Fatal error
Uncaught Error: Class 'Timber\\Post' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/timber/timber/lib/Image.php:48
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Sandbox\\SecurityError' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig_Extension' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/asm89/twig-cache-extension/lib/Asm89/Twig/CacheExtension/Extension.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Sandbox\\SecurityError' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\RuntimeLoader\\RuntimeLoaderInterface' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php:24
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crm-salesforce-learndash-integration/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
crm-salesforce-learndash-integration/crm-salesforce-learndash-integration.php Passed 13 tests
This is the main PHP file of "CRM Salesforce LearnDash Integration" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
Integrates your course enrollments with Salesforce CRM
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 plugin24,998 lines of code in 560 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 510 | 5,111 | 9,864 | 22,829 |
JSON | 9 | 0 | 0 | 953 |
Markdown | 13 | 274 | 0 | 690 |
XML | 9 | 23 | 52 | 210 |
YAML | 7 | 30 | 2 | 175 |
Twig | 10 | 0 | 0 | 86 |
Bourne Shell | 1 | 6 | 1 | 46 |
reStructuredText | 1 | 5 | 1 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 6.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 19 | |
Traits | 0 | |
Classes | 478 | |
▷ Abstract classes | 12 | 2.51% |
▷ Concrete classes | 466 | 97.49% |
▷ Final classes | 47 | 10.09% |
Methods | 1,509 | |
▷ Static methods | 241 | 15.97% |
▷ Public methods | 1,253 | 83.04% |
▷ Protected methods | 170 | 11.27% |
▷ Private methods | 86 | 5.70% |
Functions | 134 | |
▷ Named functions | 95 | 70.90% |
▷ Anonymous functions | 39 | 29.10% |
Constants | 73 | |
▷ Global constants | 12 | 16.44% |
▷ Class constants | 61 | 83.56% |
▷ Public constants | 61 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin