Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.00ms] Passed 4 tests
Analyzing server-side resources used by FLC forma.lms connector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 44.09 ▲4.42 |
Dashboard /wp-admin | 3.42 ▲0.12 | 55.13 ▲4.16 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.25 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.08 ▼12.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.84 ▲4.83 |
Settings 1 /wp-admin/admin.php?page=flc-settings | 3.26 | 32.99 |
Add-ons 0 /wp-admin/admin.php?page=flc-addons | 3.25 | 33.25 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
flc_plug-in_version |
Browser metrics Passed 4 tests
Checking browser requirements for FLC forma.lms connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 14.44 ▼0.20 | 1.68 ▼0.10 | 43.20 ▼3.94 |
Dashboard /wp-admin | 2,264 ▲73 | 5.88 ▲1.00 | 100.18 ▼11.48 | 42.78 ▼1.76 |
Posts /wp-admin/edit.php | 2,147 ▲55 | 2.01 ▼0.04 | 37.07 ▼5.19 | 35.28 ▼2.97 |
Add New Post /wp-admin/post-new.php | 1,571 ▲29 | 23.37 ▲4.97 | 683.07 ▲82.78 | 65.93 ▲12.36 |
Media Library /wp-admin/upload.php | 1,443 ▲52 | 4.20 ▲0.03 | 97.78 ▲2.64 | 44.07 ▲2.05 |
Settings 1 /wp-admin/admin.php?page=flc-settings | 948 | 2.07 | 25.35 | 30.22 |
Add-ons 0 /wp-admin/admin.php?page=flc-addons | 869 | 2.03 | 24.19 | 26.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/flc-forma-lms-connector/includes/classes/class.ssopage.php+43
Trying to get property 'ID' of non-object
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Trait 'FLC_Singleton' not found in wp-content/plugins/flc-forma-lms-connector/includes/objectcache.php on line 73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: lms, elearning, single-sign-on, sso, learning management system...
flc-forma-lms-connector/flc_formalms_connector.php 92% from 13 tests
The main PHP script in "FLC forma.lms connector" version 2.4.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("flc-forma-lms-connector.php" instead of "flc_formalms_connector.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
No dangerous file extensions were detected1,267 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 381 | 50 | 1,180 |
PO File | 1 | 28 | 35 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 13 | 13.27% |
▷ Public methods | 84 | 85.71% |
▷ Protected methods | 8 | 8.16% |
▷ Private methods | 6 | 6.12% |
Functions | 14 | |
▷ Named functions | 8 | 57.14% |
▷ Anonymous functions | 6 | 42.86% |
Constants | 9 | |
▷ Global constants | 4 | 44.44% |
▷ Class constants | 5 | 55.56% |
▷ Public constants | 5 | 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
No PNG images were found in this plugin