Benchmarks
Plugin footprint 82% 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.02MB] [CPU: ▼3.42ms] Passed 4 tests
Analyzing server-side resources used by XML for Avito
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.80 ▼2.99 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.87 ▼2.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.94 ▲0.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.42 ▼6.14 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.22 ▼1.59 |
Server storage [IO: ▲54.32MB] [DB: ▲0.00MB] 33% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/xml-for-avito/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/xml-for-avito/classes/generation/traits/common/trait-xfavi-t-common-\321\201ontact-info.php"
- The filesystem usage should be lower than 25MB (currently using 54.32MB)
Filesystem: 139 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for XML for Avito
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲33 | 14.08 ▼0.26 | 1.64 ▲0.02 | 28.45 ▼19.26 |
Dashboard /wp-admin | 2,197 ▲20 | 5.63 ▼0.04 | 90.32 ▲3.47 | 41.76 ▲2.73 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.94 ▼0.07 | 39.22 ▼1.65 | 39.31 ▲4.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 22.82 ▼0.33 | 734.52 ▼85.56 | 50.13 ▼17.28 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.22 ▲0.02 | 95.70 ▼2.13 | 42.24 ▲2.06 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-1.png) image missing
xml-for-avito/xml-for-avito.php Passed 13 tests
The primary PHP file in "XML for Avito" version 2.1.13 is used by WordPress to initiate all plugin functionality
99 characters long description:
Подключите свой магазин к Avito чтобы увеличить продажи!
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
Success! There were no dangerous files found in this plugin1,227,716 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 4 | 0 | 0 | 1,216,362 |
PHP | 126 | 998 | 4,660 | 10,792 |
PO File | 1 | 583 | 1,155 | 513 |
CSS | 2 | 0 | 1 | 32 |
JavaScript | 3 | 0 | 2 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 8.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 86 | |
Classes | 22 | |
▷ Abstract classes | 1 | 4.55% |
▷ Concrete classes | 21 | 95.45% |
▷ Final classes | 7 | 33.33% |
Methods | 317 | |
▷ Static methods | 18 | 5.68% |
▷ Public methods | 215 | 67.82% |
▷ Protected methods | 17 | 5.36% |
▷ Private methods | 85 | 26.81% |
Functions | 55 | |
▷ Named functions | 43 | 78.18% |
▷ Anonymous functions | 12 | 21.82% |
Constants | 15 | |
▷ Global constants | 11 | 73.33% |
▷ Class constants | 4 | 26.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 95.24KB | 36.04KB | ▼ 62.16% |