Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.80ms] Passed 4 tests
Analyzing server-side resources used by Namaste! LMS Bridge for GamiPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.29 ▲6.58 |
Dashboard /wp-admin | 3.32 ▼0.02 | 57.77 ▼8.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.02 ▲5.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 101.03 ▲1.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.33 ▼1.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Namaste! LMS Bridge for GamiPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.97 ▼0.41 | 5.56 ▲3.82 | 40.30 ▼4.06 |
Dashboard /wp-admin | 2,221 ▲18 | 5.90 ▲1.04 | 105.35 ▼10.66 | 40.75 ▼10.54 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.07 | 42.00 ▲5.02 | 35.23 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,532 ▼13 | 23.35 ▲0.21 | 678.04 ▲0.22 | 68.94 ▲15.28 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▲0.05 | 113.87 ▼4.53 | 47.70 ▼1.09 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/namaste-lms-bridge-for-gamipress/namaste-gamipress.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: learning, gamipress, namaste-lms, gamification, lms
namaste-lms-bridge-for-gamipress/namaste-gamipress.php 85% from 13 tests
Analyzing the main PHP file in "Namaste! LMS Bridge for GamiPress" version 0.5
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("namaste-lms-bridge-for-gamipress.php" instead of "namaste-gamipress.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected137 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 94 | 137 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin