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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.19ms] Passed 4 tests
A check of server-side resources used by MarcomGather
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.77 ▼2.96 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.82 ▼1.82 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 53.33 ▲3.62 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.92 ▼3.85 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.41 ▼0.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for MarcomGather
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲116 | 13.26 ▼1.32 | 1.90 ▲0.02 | 44.96 ▲2.41 |
Dashboard /wp-admin | 2,224 ▲35 | 5.79 ▲0.86 | 106.07 ▼9.22 | 78.66 ▲37.16 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.97 ▼0.03 | 39.68 ▲5.05 | 32.79 ▼0.24 |
Add New Post /wp-admin/post-new.php | 6,392 ▲4,873 | 22.98 ▲0.06 | 882.75 ▲142.70 | 38.16 ▼19.37 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.26 ▲0.01 | 102.90 ▼7.58 | 76.57 ▲31.00 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/marcomgather/marcom-gather.php
- > /wp-content/plugins/marcomgather/uninstall.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'MCC\\Base\\BaseController' not found in wp-content/plugins/marcomgather/inc/Block/AssetBlock.php:8
- > PHP Fatal error
Uncaught Error: Class 'MCC\\Base\\BaseController' not found in wp-content/plugins/marcomgather/inc/Pages/Admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/marcomgather/templates/admin.php:5
- > PHP Fatal error
Uncaught Error: Class 'MCC\\Base\\BaseController' not found in wp-content/plugins/marcomgather/inc/Base/ScriptLoader.php:10
- > PHP Fatal error
Uncaught Error: Class 'MCC\\Base\\BaseController' not found in wp-content/plugins/marcomgather/inc/Base/SettingsLink.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
- Donate link: Invalid URI ("")
- Contributors: There were no tags found
marcomgather/marcom-gather.php 85% from 13 tests
The main file in "MarcomGather" v. 1.0.11 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("marcomgather.php" instead of "marcom-gather.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected1,372 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 209 | 354 | 909 |
JavaScript | 3 | 90 | 68 | 374 |
JSON | 4 | 0 | 0 | 64 |
SVG | 3 | 0 | 0 | 20 |
CSS | 2 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 69 | |
▷ Static methods | 23 | 33.33% |
▷ Public methods | 66 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.35% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/img/old/mcc-logo.png | 0.52KB | 0.84KB | 0.00% |
app/img/mcc-logo.png | 0.52KB | 0.84KB | 0.00% |