Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.36ms] 75% from 4 tests
Server-side resources used by AffiliateImporterAI
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 826.37ms on /wp-admin/admin.php?page=aeidn-schedule)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 48.97 ▲12.46 |
Dashboard /wp-admin | 3.51 ▲0.17 | 51.04 ▼7.91 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 45.63 ▲0.26 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 85.16 ▼4.53 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.18 ▲2.73 |
Shedule /wp-admin/admin.php?page=aeidn-schedule | 3.38 | 826.37 |
Backup / Restore /wp-admin/admin.php?page=aeidn-backup | 3.32 | 245.06 |
Add product /wp-admin/admin.php?page=aeidn-add | 3.35 | 33.20 |
Status /wp-admin/admin.php?page=aeidn-status | 3.32 | 454.20 |
Settings /wp-admin/admin.php?page=aeidn-settings | 3.32 | 255.05 |
Dashboard /wp-admin/admin.php?page=aeidn | 3.32 | 253.53 |
Statistics /wp-admin/admin.php?page=aeidn-stats | 3.32 | 245.32 |
Server storage [IO: ▲2.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 101 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_aeidn_goods_archive |
wp_aeidn_blacklist |
wp_aeidn_price_formula |
wp_aeidn_goods |
wp_aeidn_stats |
wp_aeidn_log |
wp_aeidn_account |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
aeidn_db_version |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by AffiliateImporterAI
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.69 ▼0.66 | 2.06 ▲0.38 | 44.15 ▲2.56 |
Dashboard /wp-admin | 2,296 ▲119 | 5.47 ▼0.07 | 94.53 ▲9.99 | 85.25 ▲46.44 |
Posts /wp-admin/edit.php | 2,199 ▲99 | 2.53 ▲0.50 | 40.81 ▲5.79 | 33.48 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,622 ▲96 | 23.35 ▲0.45 | 698.31 ▲39.64 | 38.13 ▼20.42 |
Media Library /wp-admin/upload.php | 1,516 ▲116 | 5.02 ▲0.81 | 100.23 ▼11.31 | 91.30 ▲43.73 |
Shedule /wp-admin/admin.php?page=aeidn-schedule | 1,040 | 2.35 | 32.75 | 33.66 |
Backup / Restore /wp-admin/admin.php?page=aeidn-backup | 1,077 | 2.64 | 31.47 | 43.62 |
Add product /wp-admin/admin.php?page=aeidn-add | 895 | 2.14 | 29.85 | 24.95 |
Status /wp-admin/admin.php?page=aeidn-status | 983 | 2.33 | 32.61 | 39.75 |
Settings /wp-admin/admin.php?page=aeidn-settings | 2,201 | 2.26 | 35.59 | 63.44 |
Dashboard /wp-admin/admin.php?page=aeidn | 1,174 | 2.61 | 31.98 | 50.69 |
Statistics /wp-admin/admin.php?page=aeidn-stats | 1,044 | 2.48 | 35.35 | 59.45 |
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
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- aeidn_db_version
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aeidn-stats
- > Warning in wp-content/plugins/affiliateimporteral/layout/informer.php+7
file_get_contents(https://cr1000team.com/wpad.json): failed to open stream: Connection refused
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aeidn-stats
- > Warning in wp-content/plugins/affiliateimporteral/layout/informer.php+8
count(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aeidn-settings
- > Notice in wp-content/plugins/affiliateimporteral/src/AEIDN/Utils/Utils.php+88
Undefined index: parent
SRP 50% 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
Please fix the following
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function aeidn_get_api_list() in wp-content/plugins/affiliateimporteral/layout/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Dnolbon\\Wordpress\\WpListTable' not found in wp-content/plugins/affiliateimporteral/src/Dnolbon/Aeidn/Tables/BlacklistTable.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/affiliateimporteral/src/AEIDN/Modules/aliexpress/layout/settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/affiliateimporteral/AffiliateImporterAl.php:22
- > PHP Fatal error
Uncaught Error: Class 'Dnolbon\\Wordpress\\WpListTable' not found in wp-content/plugins/affiliateimporteral/src/Dnolbon/Aeidn/Tables/SheduleTable.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function aeidn_get_update() in wp-content/plugins/affiliateimporteral/layout/backup_restore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Dnolbon\\Wordpress\\WordpressDb' not found in wp-content/plugins/affiliateimporteral/layout/status.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/affiliateimporteral/src/AEIDN/Utils/Ajax.php:11
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/affiliateimporteral/install.php on line 5
- > 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/affiliateimporteral/src/AEIDN/Pages/DashboardPage.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Tags: There are too many tags (11 tag instead of maximum 10)
affiliateimporteral/AffiliateImporterAl.php 92% from 13 tests
The main file in "AffiliateImporterAI" v. 2.0.5 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 ("affiliateimporteral.php" instead of "AffiliateImporterAl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin16,131 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 1,429 | 1,425 | 7,050 |
CSS | 7 | 885 | 21 | 4,949 |
JavaScript | 6 | 425 | 68 | 2,830 |
SVG | 2 | 0 | 0 | 1,301 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 97.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 4 | 10.81% |
▷ Concrete classes | 33 | 89.19% |
▷ Final classes | 0 | 0.00% |
Methods | 306 | |
▷ Static methods | 32 | 10.46% |
▷ Public methods | 256 | 83.66% |
▷ Protected methods | 38 | 12.42% |
▷ Private methods | 12 | 3.92% |
Functions | 37 | |
▷ Named functions | 35 | 94.59% |
▷ Anonymous functions | 2 | 5.41% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 0.83MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/toolbar/dashboard.png | 4.01KB | 2.34KB | ▼ 41.73% |
(invalid) assets/img/main/views.png | 2.66KB | 0.00KB | ▼ 100.00% |
(invalid) assets/img/main/items.png | 3.83KB | 0.00KB | ▼ 100.00% |
assets/img/toolbar/schedule.png | 2.00KB | 1.93KB | ▼ 3.42% |
assets/screenshots/Statistics.png | 267.52KB | 69.89KB | ▼ 73.87% |