Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼173.75ms] Passed 4 tests
A check of server-side resources used by VDZ Ringostat Contacts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 37.11 ▲14.52 |
Dashboard /wp-admin | 3.13 ▲0.07 | 51.51 ▲5.43 |
Posts /wp-admin/edit.php | 3.18 ▲0.06 | 40.01 ▼4.49 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 88.72 ▼700.42 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 40.05 ▲4.50 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options |
---|
vdz_ringostat_contacts_on |
vdz_ringostat_contacts_secret_key |
Browser metrics Passed 4 tests
A check of browser resources used by VDZ Ringostat Contacts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,920 ▲324 | 16.02 ▲0.48 | 10.35 ▲1.45 | 50.85 ▲2.73 |
Dashboard /wp-admin | 2,971 ▲40 | 6.05 ▼0.04 | 170.48 ▲28.88 | 140.32 ▲23.15 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.70 ▲0.00 | 65.88 ▼2.32 | 97.84 ▲5.00 |
Add New Post /wp-admin/post-new.php | 1,618 ▲3 | 21.40 ▼0.25 | 289.40 ▲1.83 | 107.02 ▼2.58 |
Media Library /wp-admin/upload.php | 1,814 ▲1 | 5.25 ▲0.14 | 148.83 ▼8.34 | 120.10 ▼3.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vdz-ringostat-contacts/api.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vdz-ringostat-contacts/updated_plugin_admin_notices.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: ringostat, ringostat contacts, contact from 7, contacts, marketing
vdz-ringostat-contacts/vdz-ringostat-contacts.php Passed 13 tests
The primary PHP file in "VDZ Ringostat Contacts" version 1.4.2 is used by WordPress to initiate all plugin functionality
47 characters long description:
Интеграция Ringostat + Contact From 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected340 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 89 | 306 |
XML | 1 | 11 | 3 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
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
There were not PNG files found in your plugin