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: ▲0.01MB] [CPU: ▼6.32ms] Passed 4 tests
Server-side resources used by Importer From MaxSite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.31 ▲1.14 |
Dashboard /wp-admin | 3.32 ▲0.02 | 41.48 ▼7.93 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 44.92 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.26 ▼13.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.27 ▼1.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Importer From MaxSite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.31 ▼1.27 | 1.58 ▼0.15 | 44.76 ▲1.80 |
Dashboard /wp-admin | 2,226 ▲38 | 5.89 ▲1.00 | 97.19 ▼5.36 | 40.09 ▼1.21 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.03 ▼0.02 | 35.23 ▼2.01 | 32.40 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.43 ▲0.29 | 665.40 ▲82.75 | 46.69 ▼17.54 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.24 ▲0.03 | 93.95 ▼0.61 | 45.01 ▲3.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 no errors were found, this is by no means 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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Trait 'Importer_From_Maxsite\\Singleton' not found in wp-content/plugins/importer-from-maxsite/app/class-api.php on line 10
- > PHP Fatal error
Trait 'Importer_From_Maxsite\\Singleton' not found in wp-content/plugins/importer-from-maxsite/app/class-page-controller.php on line 10
- > PHP Fatal error
Trait 'Importer_From_Maxsite\\Singleton' not found in wp-content/plugins/importer-from-maxsite/app/class-importer.php on line 10
- > PHP Fatal error
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
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: maxsite, import, wordpress
importer-from-maxsite/importer-from-maxsite.php Passed 13 tests
The primary PHP file in "Importer From MaxSite" version 1.5 is used by WordPress to initiate all plugin functionality
108 characters long description:
Plugin Importer From MaxSite provides easy and fast way to move your data from MaxSite CMS to the WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected688 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 132 | 181 | 515 |
PO File | 1 | 23 | 28 | 73 |
JavaScript | 1 | 2 | 0 | 61 |
Markdown | 1 | 8 | 0 | 21 |
CSS | 1 | 4 | 0 | 17 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 10 | 38.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 61.54% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin