Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/zmseo/zmseo.php+48
Undefined variable: tuning
Server metrics [RAM: ▼0.91MB] [CPU: ▼36.50ms] Passed 4 tests
An overview of server-side resources used by ZMSEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 49.84 ▲3.05 |
Dashboard /wp-admin | 3.03 ▼0.27 | 32.46 ▼33.12 |
Posts /wp-admin/edit.php | 3.03 ▼0.32 | 30.95 ▼27.50 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 30.66 ▼72.90 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 28.49 ▼12.48 |
Настройки /wp-admin/admin.php?page=support | 3.03 | 32.05 |
KPI страниц /wp-admin/admin.php?page=zmseo | 3.03 | 26.72 |
Каннибалы /wp-admin/admin.php?page=cannibals | 3.03 | 27.79 |
Сводка /wp-admin/admin.php?page=report | 3.03 | 30.33 |
Точки роста /wp-admin/admin.php?page=pointsup | 3.03 | 24.58 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 33 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_zmseo_support |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ZMSEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.17 ▼0.48 | 1.86 ▼0.05 | 39.15 ▼7.57 |
Dashboard /wp-admin | 2,236 ▲62 | 5.63 ▼0.03 | 95.02 ▼9.49 | 43.21 ▲0.39 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.02 ▲0.01 | 46.72 ▲7.16 | 37.62 ▲5.22 |
Add New Post /wp-admin/post-new.php | 6,510 ▲4,984 | 19.01 ▼3.73 | 1,025.69 ▲367.29 | 42.74 ▼11.87 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.14 ▼0.01 | 134.17 ▲10.64 | 51.65 ▼3.45 |
Настройки /wp-admin/admin.php?page=support | 1,135 | 2.00 | 28.17 | 36.17 |
KPI страниц /wp-admin/admin.php?page=zmseo | 1,055 | 1.99 | 25.78 | 34.76 |
Каннибалы /wp-admin/admin.php?page=cannibals | 823 | 1.99 | 28.19 | 31.95 |
Сводка /wp-admin/admin.php?page=report | 871 | 2.00 | 30.66 | 29.26 |
Точки роста /wp-admin/admin.php?page=pointsup | 868 | 1.99 | 28.67 | 30.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- 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
Smoke test failed, please fix the following
- 54 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pointsup
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=support
- > Notice in wp-content/plugins/zmseo/support.php+227
Undefined variable: com
- > GET request to /wp-admin/admin.php?page=support
- > Notice in wp-content/plugins/zmseo/support.php+257
Undefined variable: time_end
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+158
Undefined variable: mass_f
- 125 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+273
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+209
Undefined variable: mass_kpi
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+95
Undefined offset: 3
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+224
Undefined offset: 0
- 39 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+273
Undefined variable: arr_api
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+243
Undefined variable: prc
- 19 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+248
Undefined variable: mass_12m
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+209
Undefined index: /index.php/sample-page/
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zmseo
- > Notice in wp-content/plugins/zmseo/pages.php+209
Undefined index: /index.php/2023/09/01/hello-world/
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+47
Undefined variable: arr_years
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+47
Undefined offset: 2023
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+48
Undefined variable: all_art
- > GET request to /wp-admin/admin.php?page=report
- > Notice in wp-content/plugins/zmseo/report.php+92
Undefined offset: 2
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pointsup
- > Notice in wp-content/plugins/zmseo/pointsup.php+136
Undefined variable: mass_pup
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pointsup
- > Warning in wp-content/plugins/zmseo/pointsup.php+136
sizeof(): Parameter must be an array or an object that implements Countable
SRP 50% from 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
The following issues need your attention
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'desc' of non-object in wp-content/plugins/zmseo/sup_pages/links.php on line 7
- > PHP Notice
Trying to get property 'h1' of non-object in wp-content/plugins/zmseo/sup_pages/links.php on line 8
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/zmseo/sup_pages/links.php on line 12
- > PHP Notice
Undefined index: edit_tag in wp-content/plugins/zmseo/sup_pages/tags.php on line 31
- > PHP Notice
Undefined variable: post in wp-content/plugins/zmseo/sup_pages/links.php on line 6
- > PHP Notice
Undefined variable: tag in wp-content/plugins/zmseo/sup_pages/tags.php on line 80
- > PHP Notice
Undefined index: add_tag in wp-content/plugins/zmseo/sup_pages/tags.php on line 5
- > PHP Notice
Trying to get property 'title' of non-object in wp-content/plugins/zmseo/sup_pages/links.php on line 6
- > PHP Notice
Undefined variable: tag in wp-content/plugins/zmseo/sup_pages/tags.php on line 93
- > PHP Notice
Trying to get property 'title' of non-object in wp-content/plugins/zmseo/sup_pages/links.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: yandex, google, seo, content analysis, zmseo
zmseo/zmseo.php Passed 13 tests
This is the main PHP file of "ZMSEO" version 1.14.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
81 characters long description:
SEO аналитика запросов и метрики вашего сайта
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,641 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 409 | 184 | 2,193 |
CSS | 1 | 54 | 21 | 329 |
JavaScript | 1 | 25 | 40 | 119 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.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
17 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/links.png | 1.20KB | 0.82KB | ▼ 31.84% |
images/black_kpi.png | 1.65KB | 0.88KB | ▼ 46.39% |
images/up.png | 1.60KB | 0.84KB | ▼ 47.43% |
images/yellow_min.png | 1.45KB | 0.69KB | ▼ 51.96% |
images/black_min.png | 1.12KB | 0.49KB | ▼ 55.94% |