Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼142.08ms] Passed 4 tests
Server-side resources used by IM-porter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.20 | 31.85 ▲1.19 |
Dashboard /wp-admin | 3.15 ▲0.09 | 47.96 ▲3.55 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 49.48 ▲3.28 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 94.46 ▼572.34 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 36.44 ▼0.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by IM-porter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲131 | 15.92 ▼0.18 | 7.97 ▼4.27 | 46.14 ▼12.11 |
Dashboard /wp-admin | 2,967 ▲41 | 5.91 ▼0.02 | 141.46 ▼32.83 | 112.88 ▼18.29 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.00 | 79.96 ▲4.31 | 95.91 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,604 ▲23 | 18.85 ▼1.54 | 396.83 ▼11.49 | 116.39 ▼1.97 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.02 | 159.49 ▲0.49 | 124.46 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: chat, import, aim, chats, importer...
im-porter/im-porter.php Passed 13 tests
The entry point to "IM-porter" version 1.0.1 is a PHP file that has certain tags in its header comment area
39 characters long description:
Import chat transcripts into WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected527 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 152 | 44 | 527 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 18 | 58.06% |
▷ Public methods | 22 | 70.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 29.03% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin