Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.47ms] Passed 4 tests
Server-side resources used by FG Joomla to WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.54 ▼3.39 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.16 ▼3.22 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.20 ▲2.02 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.74 ▲8.31 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.06 ▼1.29 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for FG Joomla to WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.72 ▲0.58 | 1.85 ▲0.16 | 37.98 ▼8.68 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.01 | 95.03 ▼7.37 | 40.00 ▼5.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.04 | 39.86 ▲0.93 | 40.12 ▲4.43 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.30 ▲0.13 | 679.94 ▲24.22 | 52.13 ▼10.01 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.15 ▼0.06 | 96.11 ▲0.32 | 43.20 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/fg-joomla-to-wordpress/admin/partials/progress-bar.php
- > /wp-content/plugins/fg-joomla-to-wordpress/admin/partials/help-options.tpl.php
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/admin-display.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/logger.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/ftp-settings.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/admin-display.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/help-instructions.tpl.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/extra-features.php:2
- > PHP Notice
Undefined variable: data in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/admin-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/help-options.tpl.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/database-info.php:2
- > PHP Fatal error
Uncaught Error: Class 'FG_Joomla_to_WordPress_DebugInfo' not found in wp-content/plugins/fg-joomla-to-wordpress/admin/partials/debug-info.php:1
- > PHP Notice
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
fg-joomla-to-wordpress/fg-joomla-to-wordpress.php Passed 13 tests
"FG Joomla to WordPress" version 4.15.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
81 characters long description:
A plugin to migrate categories, posts, images and medias from Joomla to WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected9,342 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 1,886 | 2,440 | 4,896 |
PHP | 36 | 747 | 1,987 | 3,965 |
JavaScript | 1 | 51 | 107 | 360 |
CSS | 1 | 1 | 4 | 121 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 34.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 394.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 2 | 1.01% |
▷ Public methods | 126 | 63.64% |
▷ Protected methods | 5 | 2.53% |
▷ Private methods | 67 | 33.84% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.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