Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼144.89ms] Passed 4 tests
A check of server-side resources used by WPLMS ACADEMY MIGRATION
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 36.72 ▲0.20 |
Dashboard /wp-admin | 3.12 ▲0.06 | 47.27 ▼8.48 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 49.82 ▲6.21 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 88.63 ▼572.99 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 35.70 ▲1.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WPLMS ACADEMY MIGRATION
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.91 ▲0.29 | 9.53 ▼1.18 | 49.37 ▼3.74 |
Dashboard /wp-admin | 2,967 ▲36 | 5.87 ▼0.13 | 141.87 ▼33.68 | 124.20 ▲4.83 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.00 | 65.25 ▼4.29 | 99.79 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,683 ▲79 | 18.78 ▼0.10 | 357.37 ▼18.20 | 111.10 ▼12.15 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.03 | 155.36 ▼5.75 | 127.85 ▲1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: academy migrate, wplms, academy, wplms migrate, migrate
wplms-academy-migration/wplms_academy_migrate.php 85% from 13 tests
Analyzing the main PHP file in "WPLMS ACADEMY MIGRATION" version 1.0
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wplms-academy-migration.php" instead of "wplms_academy_migrate.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected360 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 56 | 34 | 360 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
No PNG images were found in this plugin