Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.84ms] Passed 4 tests
An overview of server-side resources used by Maaq - Manage your WordPress websites
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.00 | 41.33 ▲0.75 |
Dashboard /wp-admin | 3.34 ▲0.00 | 52.02 ▲4.55 |
Posts /wp-admin/edit.php | 3.39 ▲0.00 | 48.29 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.00 | 95.65 ▼13.90 |
Media Library /wp-admin/upload.php | 3.26 ▲0.00 | 33.50 ▼0.51 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Maaq - Manage your WordPress websites: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.35 | 4.35 ▲2.73 | 42.25 ▲1.24 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▼0.11 | 98.87 ▼11.07 | 39.46 ▼4.38 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 40.73 ▲4.72 | 34.20 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.36 ▼4.76 | 623.57 ▼25.51 | 64.57 ▲18.37 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.03 | 95.24 ▼5.93 | 43.91 ▼0.63 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 165× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maaq-website-manager/includes/endpoints/summary/get.php:25
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/maaq-website-manager/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/maaq-website-manager/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/maaq-website-manager/vendor/chillerlan/php-qrcode/examples/svgMeltedModules.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/maaq-website-manager/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/maaq-website-manager/includes/plugin/plugin_links.php:37
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/maaq-website-manager/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maaq-website-manager/includes/endpoints/health/get.php:11
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCodeTest\\Output\\QROutputTestAbstract' not found in wp-content/plugins/maaq-website-manager/vendor/chillerlan/php-qrcode/tests/Output/QRImagickTest.php:23
- > PHP Fatal error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16. in wp-content/plugins/maaq-website-manager/vendor/composer/platform_check.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/maaq-website-manager/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
maaq-website-manager/maaq.php 85% from 13 tests
Analyzing the main PHP file in "Maaq - Manage your WordPress websites" version 0.0.1
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("maaq-website-manager.php" instead of "maaq.php")
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
No dangerous file extensions were detected19,270 lines of code in 262 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 230 | 5,177 | 15,947 | 16,856 |
XML | 8 | 30 | 16 | 1,189 |
Markdown | 10 | 127 | 0 | 444 |
JSON | 4 | 0 | 0 | 341 |
YAML | 5 | 52 | 4 | 205 |
HTML | 1 | 28 | 0 | 151 |
SVG | 4 | 2 | 18 | 84 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 7 | |
Traits | 5 | |
Classes | 185 | |
▷ Abstract classes | 27 | 14.59% |
▷ Concrete classes | 158 | 85.41% |
▷ Final classes | 59 | 37.34% |
Methods | 1,215 | |
▷ Static methods | 169 | 13.91% |
▷ Public methods | 863 | 71.03% |
▷ Protected methods | 255 | 20.99% |
▷ Private methods | 97 | 7.98% |
Functions | 57 | |
▷ Named functions | 39 | 68.42% |
▷ Anonymous functions | 18 | 31.58% |
Constants | 189 | |
▷ Global constants | 4 | 2.12% |
▷ Class constants | 185 | 97.88% |
▷ Public constants | 160 | 86.49% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/chillerlan/php-qrcode/tests/samples/numeric.png | 0.38KB | 0.21KB | ▼ 44.59% |
vendor/chillerlan/php-qrcode/tests/samples/rotated.png | 0.77KB | 0.24KB | ▼ 69.34% |
vendor/chillerlan/php-qrcode/tests/samples/example_svg_dots.png | 44.02KB | 12.18KB | ▼ 72.34% |
vendor/chillerlan/php-qrcode/tests/samples/kanji.png | 0.37KB | 0.20KB | ▼ 47.52% |
vendor/chillerlan/php-qrcode/tests/samples/smol.png | 0.38KB | 0.21KB | ▼ 44.99% |