Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.45MB] [CPU: ▼2.50ms] Passed 4 tests
A check of server-side resources used by bizExaminer LearnDash Extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 44.00 ▲5.04 |
Dashboard /wp-admin | 3.82 ▲0.47 | 54.48 ▼3.09 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 51.24 ▲4.12 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 100.96 ▼11.56 |
Media Library /wp-admin/upload.php | 3.68 ▲0.44 | 37.91 ▲0.53 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 162 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
be_ld_db_version |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
bizExaminer LearnDash Extension: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲46 | 14.31 ▼0.34 | 1.68 ▲0.04 | 44.69 ▲0.94 |
Dashboard /wp-admin | 2,201 ▲20 | 5.58 ▼0.19 | 89.84 ▼16.51 | 42.45 ▲1.51 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.04 | 33.96 ▼7.33 | 35.06 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.21 ▲0.11 | 621.56 ▼43.62 | 56.90 ▼7.74 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.22 ▲0.04 | 96.64 ▼6.15 | 42.78 ▼1.07 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- be_ld_db_version
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 72× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Internal\\Interfaces\\ApiAwareInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Api/RemoteProctorsService.php:13
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Internal\\Interfaces\\EventManagerAwareInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Core/TemplateService.php:11
- > PHP Fatal error
Uncaught Error: Class 'LearnDash_Settings_Page' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/LearnDash/Settings/SettingsPage.php:15
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Vendor\\League\\Container\\Argument\\ArgumentResolverInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Vendor/League/Container/Definition/Definition.php:18
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Vendor\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Vendor/Psr/Container/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Internal\\EventManagement\\ActionSubscriberInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/LearnDash/Quiz/QuizSettings/AdminSubscriber.php:13
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Vendor\\League\\Container\\Inflector\\InflectorAggregateInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Vendor/League/Container/Inflector/InflectorAggregate.php:10
- > PHP Fatal error
Uncaught Error: Class 'LearnDash_Settings_Section' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/LearnDash/Settings/SupportSection.php:14
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Vendor\\League\\Container\\ContainerAwareInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Vendor/League/Container/Definition/DefinitionAggregateInterface.php:10
- > PHP Fatal error
Uncaught Error: Interface 'BizExaminer\\LearnDashExtension\\Internal\\EventManagement\\SubscriberInterface' not found in wp-content/plugins/bizexaminer-learndash-extension/lib/Internal/EventManagement/FilterSubscriberInterface.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: exams, learndash, lms
bizexaminer-learndash-extension/bizexaminer-learndash-extension.php Passed 13 tests
The main PHP script in "bizExaminer LearnDash Extension" version 1.3.7 is automatically included on every request by WordPress
54 characters long description:
An extension for LearnDash to connect with bizExaminer
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
No dangerous file extensions were detected10,688 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 139 | 1,687 | 4,986 | 9,196 |
PO File | 1 | 184 | 271 | 605 |
JavaScript | 11 | 79 | 118 | 556 |
JSON | 2 | 0 | 0 | 210 |
Sass | 2 | 17 | 3 | 119 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 33 | |
Traits | 10 | |
Classes | 85 | |
▷ Abstract classes | 3 | 3.53% |
▷ Concrete classes | 82 | 96.47% |
▷ Final classes | 0 | 0.00% |
Methods | 529 | |
▷ Static methods | 39 | 7.37% |
▷ Public methods | 455 | 86.01% |
▷ Protected methods | 65 | 12.29% |
▷ Private methods | 9 | 1.70% |
Functions | 22 | |
▷ Named functions | 1 | 4.55% |
▷ Anonymous functions | 21 | 95.45% |
Constants | 48 | |
▷ Global constants | 2 | 4.17% |
▷ Class constants | 46 | 95.83% |
▷ Public constants | 31 | 67.39% |
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
There were not PNG files found in your plugin