Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.45ms] Passed 4 tests
Analyzing server-side resources used by FooGallery Migrate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 35.47 ▼4.99 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.71 ▼1.70 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 48.59 ▼1.78 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 82.47 ▼21.32 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.56 ▲8.51 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 140 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FooGallery Migrate
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.52 ▼0.85 | 4.88 ▲3.04 | 39.86 ▼3.28 |
Dashboard /wp-admin | 2,211 ▲20 | 5.82 ▲0.80 | 107.91 ▼4.51 | 37.96 ▼4.13 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.06 ▲0.09 | 39.46 ▲2.70 | 35.74 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.09 ▼0.03 | 665.56 ▼35.88 | 51.69 ▼3.75 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.21 ▼0.10 | 98.64 ▼6.93 | 43.58 ▼2.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 112× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'FooPlugins\\FooGalleryMigrate\\Objects\\Migratable' not found in wp-content/plugins/foogallery-migrate/includes/objects/class-gallery.php:17
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php:11
- > PHP Fatal error
Uncaught Error: Class 'FooPlugins\\FooGalleryMigrate\\Objects\\Plugin' not found in wp-content/plugins/foogallery-migrate/includes/plugins/class-robo.php:22
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/foogallery-migrate/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% 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: migrate, photo gallery, gallery, wordpress gallery plugin, image gallery
foogallery-migrate/migrate.php 92% from 13 tests
"FooGallery Migrate" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("foogallery-migrate.php" instead of "migrate.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected5,682 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 132 | 1,139 | 1,759 | 5,414 |
JSON | 2 | 0 | 0 | 268 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 5.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 115 | |
▷ Abstract classes | 4 | 3.48% |
▷ Concrete classes | 111 | 96.52% |
▷ Final classes | 0 | 0.00% |
Methods | 277 | |
▷ Static methods | 18 | 6.50% |
▷ Public methods | 214 | 77.26% |
▷ Protected methods | 39 | 14.08% |
▷ Private methods | 24 | 8.66% |
Functions | 14 | |
▷ Named functions | 9 | 64.29% |
▷ Anonymous functions | 5 | 35.71% |
Constants | 38 | |
▷ Global constants | 19 | 50.00% |
▷ Class constants | 19 | 50.00% |
▷ Public constants | 15 | 78.95% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin