Benchmarks
Plugin footprint Passed 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.10MB] [CPU: ▼301.06ms] Passed 4 tests
This is a short check of server-side resources used by Software License Manager Client
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 62.09 ▲6.82 |
Dashboard /wp-admin | 3.54 ▲0.13 | 38.34 ▲1.01 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 38.77 ▼2.49 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 98.38 ▼1,208.68 |
Media Library /wp-admin/upload.php | 3.41 ▲0.12 | 32.22 ▲5.94 |
Software License Manager Client /wp-admin/options-general.php?page=slmclient | 3.38 | 24.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
slmclient |
Browser metrics Passed 4 tests
An overview of browser requirements for Software License Manager Client
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,776 ▲34 | 15.61 ▼0.02 | 6.06 ▲0.28 | 2.33 ▲0.40 |
Dashboard /wp-admin | 2,883 ▲29 | 6.12 ▼0.03 | 116.15 ▼25.34 | 159.17 ▲1.21 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.02 | 63.41 ▼1.00 | 140.52 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 17.38 ▲1.06 | 417.43 ▼4.90 | 158.59 ▲6.51 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.50 ▼0.03 | 143.13 ▲1.90 | 187.10 ▼4.42 |
Software License Manager Client /wp-admin/options-general.php?page=slmclient | 1,707 | 2.41 | 54.62 | 125.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/software-license-manager-client/lib/class-slmclientadmin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/software-license-manager-client/lib/class-slmclientadmin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/software-license-manager-client/license-checker/class-slmclient.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: license, license key
software-license-manager-client/slmclient.php 85% from 13 tests
The main file in "Software License Manager Client" v. 1.15 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.0")
- Main file name: Name the main plugin file the same as the plugin slug ("software-license-manager-client.php" instead of "slmclient.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
Success! There were no dangerous files found in this plugin660 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 112 | 203 | 621 |
JavaScript | 1 | 5 | 22 | 39 |
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.28 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin