Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/wp-multitarget-uploads-sync-tool/index.php+11
Non-static method MUST::ins() should not be called statically
Server metrics [RAM: ▼1.97MB] [CPU: ▼56.54ms] Passed 4 tests
Analyzing server-side resources used by WP-MultiTarget-Uploads-Sync-Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.39 ▼36.89 |
Dashboard /wp-admin | 2.05 ▼1.30 | 7.36 ▼57.90 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.14 ▼44.69 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.35 ▼86.69 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.69 ▼31.78 |
WP-MUST InMedia /wp-admin/admin.php?page=MUSTpageInMedia | 2.05 | 5.05 |
WP-MUST Changelog /wp-admin/admin.php?page=MUSTpageChangelog | 2.05 | 6.14 |
WP-MUST Setting /wp-admin/admin.php?page=MUSTpageSetting | 2.05 | 5.76 |
WP-MUST /wp-admin/admin.php?page=wp-multitarget-uploads-sync-tool/index.php | 2.05 | 5.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-MultiTarget-Uploads-Sync-Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 14.45 ▲0.27 | 1.87 ▲0.04 | 40.77 ▼5.54 |
Dashboard /wp-admin | 2,244 ▲56 | 4.85 ▼1.01 | 104.20 ▼13.80 | 43.41 ▲0.75 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.02 ▼0.03 | 36.37 ▼3.63 | 32.82 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.31 ▲0.21 | 694.41 ▲45.64 | 51.53 ▼2.61 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.19 ▲0.02 | 102.53 ▼4.11 | 48.65 ▲2.77 |
WP-MUST InMedia /wp-admin/admin.php?page=MUSTpageInMedia | 845 | 1.99 | 27.40 | 30.83 |
WP-MUST Changelog /wp-admin/admin.php?page=MUSTpageChangelog | 832 | 2.05 | 24.80 | 26.59 |
WP-MUST Setting /wp-admin/admin.php?page=MUSTpageSetting | 842 | 2.15 | 24.30 | 26.84 |
WP-MUST /wp-admin/admin.php?page=wp-multitarget-uploads-sync-tool/index.php | 915 | 2.11 | 23.41 | 40.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-multitarget-uploads-sync-tool/index.php+11
Non-static method MUST::ins() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-multitarget-uploads-sync-tool/index.php
- > Deprecated in wp-content/plugins/wp-multitarget-uploads-sync-tool/index.php+11
Non-static method MUST::ins() should not be called statically
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-multitarget-uploads-sync-tool/index.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: imgbed, images, attachments, upload, sync
wp-multitarget-uploads-sync-tool/index.php 92% from 13 tests
The primary PHP file in "WP-MultiTarget-Uploads-Sync-Tool" version 1.0.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-multitarget-uploads-sync-tool.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected811 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 60 | 56 | 808 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 41.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 3 | 5.45% |
▷ Public methods | 54 | 98.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.82% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin