Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼0.51ms] Passed 4 tests
A check of server-side resources used by Moredeal AI Writer - GPT Content Generator, Custom AI Template & AI Forms & Prompt Template Market & Sell Template
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 40.65 ▼1.59 |
Dashboard /wp-admin | 3.61 ▲0.31 | 46.93 ▲0.57 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 51.14 ▲5.05 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 86.06 ▼0.97 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 36.49 ▼0.04 |
Use Limit /wp-admin/admin.php?page=moredeal-ai-writer-uselimit | 3.54 | 33.77 |
Moredeal AI Writer /wp-admin/admin.php?page=moredeal-ai-writer | 3.51 | 31.91 |
Service /wp-admin/admin.php?page=moredeal-ai-writer-service | 3.51 | 32.24 |
License /wp-admin/admin.php?page=moredeal-ai-writer-license | 3.55 | 38.54 |
Token Recharge /wp-admin/admin.php?page=moredeal-ai-writer-token | 3.65 | 354.58 |
Settings /wp-admin/admin.php?page=moredeal-ai-writer-settings | 3.55 | 33.63 |
Server storage [IO: ▲11.47MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 349 new files
Database: 4 new tables, 14 new options
New tables |
---|
wp_moredeal_aigc_uselimit |
wp_moredeal_aigc_log |
wp_moredeal_aigc_template |
wp_moredeal_aigc_template_download |
New WordPress options |
---|
moredeal_aigc_db_version |
moredeal_aigc_settings |
moredeal_aigc_token |
moredeal_aigc_license |
widget_recent-comments |
moredeal_aigc_service |
moredeal_aigc_account |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Moredeal AI Writer - GPT Content Generator, Custom AI Template & AI Forms & Prompt Template Market & Sell Template
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.22 ▼1.56 | 1.57 ▼0.39 | 41.61 ▼0.26 |
Dashboard /wp-admin | 2,257 ▲69 | 5.82 ▲0.01 | 106.30 ▼9.39 | 73.72 ▲29.75 |
Posts /wp-admin/edit.php | 2,143 ▲51 | 2.10 ▲0.10 | 52.76 ▲15.55 | 37.06 ▲2.78 |
Add New Post /wp-admin/post-new.php | 1,557 ▲24 | 23.35 ▲0.29 | 753.28 ▲87.51 | 60.10 ▲2.61 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.18 ▼0.04 | 95.66 ▼2.02 | 69.70 ▲28.95 |
Use Limit /wp-admin/admin.php?page=moredeal-ai-writer-uselimit | 1,771 | 7.65 | 153.27 | 90.18 |
Moredeal AI Writer /wp-admin/admin.php?page=moredeal-ai-writer | 1,199 | 10.30 | 140.49 | 150.20 |
Service /wp-admin/admin.php?page=moredeal-ai-writer-service | 1,524 | 5.75 | 97.28 | 35.13 |
License /wp-admin/admin.php?page=moredeal-ai-writer-license | 1,005 | 2.13 | 41.92 | 56.60 |
Token Recharge /wp-admin/admin.php?page=moredeal-ai-writer-token | 1,028 | 2.42 | 41.91 | 37.71 |
Settings /wp-admin/admin.php?page=moredeal-ai-writer-settings | 1,017 | 2.08 | 39.66 | 33.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 4 tables
- wp_moredeal_aigc_template_download
- wp_moredeal_aigc_template
- wp_moredeal_aigc_uselimit
- wp_moredeal_aigc_log
- Zombie WordPress options detected upon uninstall: 13 options
- moredeal_aigc_first_activation_date
- db_upgraded
- moredeal_aigc_service
- moredeal_aigc_account
- widget_theysaidso_widget
- moredeal_aigc_settings
- moredeal_aigc_uselimit
- moredeal_aigc_license
- theysaidso_admin_options
- widget_recent-posts
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/moredeal-ai-writer/moredeal-ai-writer.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'MoredealAiWriter\\code\\modules\\extend\\AbstractBaseExtend' not found in wp-content/plugins/moredeal-ai-writer/code/modules/extend/SceneExtend.php:16
- > PHP Fatal error
Uncaught Error: Class 'MoredealAiWriter\\application\\controller\\AbstractApiController' not found in wp-content/plugins/moredeal-ai-writer/application/controller/ServiceApiController.php:9
- > PHP Fatal error
Uncaught Error: Class 'MoredealAiWriter\\code\\modules\\step\\AbstractStepModule' not found in wp-content/plugins/moredeal-ai-writer/code/modules/step/SearchProductStepModule.php:12
- > PHP Fatal error
Uncaught Error: Class 'MoredealAiWriter\\application\\controller\\AbstractApiController' not found in wp-content/plugins/moredeal-ai-writer/application/controller/UseLimitApiController.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=moredeal-ai-writer-uselimit
- > Console-api (severe) in unknown
/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400 6:25078 TypeError: Cannot read properties of undefined (reading 'total_token_usage')at o.z (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/limits.js?ver=1.2.0-1696595400:1:13016)at Oi.t._render (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:21961)at o.n (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:32050)at t.get (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:28259)at t.run (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:28996)at Jn (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:34236)at Array. (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:25799)at Yi (/wp-content/plugins/moredeal-ai-writer/res/admin/limit/chunk-vendors.js?ver=1.2.0-1696595400:7:25194)
- > GET request to /wp-admin/admin.php?page=moredeal-ai-writer-uselimit
- > Javascript (severe) in unknown
/wp-content/plugins/moredeal-ai-writer/res/admin/limit/limits.js?ver=1.2.0-1696595400 0:19964 Uncaught TypeError: Cannot read properties of undefined (reading 'list')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please describe screenshot #10 in moredeal-ai-writer/assets to your readme.txt
moredeal-ai-writer/moredeal-ai-writer.php Passed 13 tests
"Moredeal AI Writer - GPT Content Generator, Custom AI Template & AI Forms & Prompt Template Market & Sell Template" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
114 characters long description:
Moredeal AI Writer - GPT Content Generator, Custom AI Template & AI Forms & Prompt Template Market & Sell Template
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
Good job! No executable or dangerous file extensions detected22,530 lines of code in 267 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 4,784 | 10,057 | 17,591 |
PO File | 3 | 959 | 213 | 1,896 |
JavaScript | 61 | 215 | 190 | 1,484 |
CSS | 17 | 262 | 18 | 1,421 |
JSON | 3 | 1 | 0 | 82 |
SVG | 10 | 30 | 0 | 54 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 164 | |
▷ Abstract classes | 17 | 10.37% |
▷ Concrete classes | 147 | 89.63% |
▷ Final classes | 0 | 0.00% |
Methods | 1,185 | |
▷ Static methods | 400 | 33.76% |
▷ Public methods | 994 | 83.88% |
▷ Protected methods | 146 | 12.32% |
▷ Private methods | 45 | 3.80% |
Functions | 13 | |
▷ Named functions | 1 | 7.69% |
▷ Anonymous functions | 12 | 92.31% |
Constants | 212 | |
▷ Global constants | 8 | 3.77% |
▷ Class constants | 204 | 96.23% |
▷ Public constants | 204 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
chat/apple-touch-icon.png | 11.30KB | 4.76KB | ▼ 57.88% |
chat/favicon-32x32.png | 1.51KB | 1.06KB | ▼ 29.95% |
chat/android-chrome-192x192.png | 12.39KB | 5.34KB | ▼ 56.85% |
(invalid) res/images/moredeal_ai_writer.png | 31.96KB | 0.00KB | ▼ 100.00% |
chat/android-chrome-512x512.png | 23.67KB | 8.52KB | ▼ 64.02% |