Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.69MB] [CPU: ▼191.67ms] Passed 4 tests
Server-side resources used by Mercenary Theme Modifications Automatic Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.91 ▼0.82 | 8.30 ▼14.57 |
Dashboard /wp-admin | 1.96 ▼1.10 | 8.05 ▼45.35 |
Posts /wp-admin/edit.php | 1.96 ▼1.15 | 9.90 ▼35.17 |
Add New Post /wp-admin/post-new.php | 1.96 ▼3.48 | 9.11 ▼662.27 |
Media Library /wp-admin/upload.php | 1.96 ▼1.05 | 8.55 ▼23.87 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Mercenary Theme Modifications Automatic Importer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 15.93 ▼0.05 | 8.51 ▼2.12 | 45.04 ▼3.77 |
Dashboard /wp-admin | 2,972 ▲41 | 6.05 ▲0.13 | 138.14 ▼11.55 | 108.21 ▼4.29 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.83 ▲0.12 | 67.93 ▲4.91 | 89.11 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,504 ▲4 | 18.67 ▲0.16 | 345.52 ▼10.56 | 105.59 ▼5.57 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.05 ▲0.01 | 147.18 ▼11.66 | 117.12 ▼6.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/merc-theme-mod-import/merc-theme-mod-import.php+36
Undefined offset: 0
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/merc-theme-mod-import/merc-theme-mod-import.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: modifications, wpmercs, child theme, theme modifications, parent theme...
merc-theme-mod-import/merc-theme-mod-import.php Passed 13 tests
Analyzing the main PHP file in "Mercenary Theme Modifications Automatic Importer" version 1.0
79 characters long description:
Mercenary Parent Theme Modifications Automatic Importer for Custom Child Themes
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
There were no executable files found in this plugin12 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 2 | 27 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin