Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼138.12ms] Passed 4 tests
Server-side resources used by Addurilka
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.11 | 39.73 ▲6.12 |
Dashboard /wp-admin | 3.17 ▲0.12 | 45.72 ▼0.12 |
Posts /wp-admin/edit.php | 3.26 ▲0.14 | 46.68 ▼2.07 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.10 | 91.48 ▼555.51 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 35.56 ▲5.21 |
Addurilka /wp-admin/options-general.php?page=wp_ya_addurl-plugin | 3.08 | 33.28 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 3 new options
New WordPress options |
---|
wp_ya_addurl_setting_show_yandex |
wp_ya_addurl_setting_show_google |
wp_ya_addurl_setting_webmaster_tool |
Browser metrics Passed 4 tests
An overview of browser requirements for Addurilka
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,881 ▲244 | 15.90 ▲0.39 | 10.28 ▲0.47 | 45.48 ▼7.07 |
Dashboard /wp-admin | 3,062 ▲131 | 5.97 ▲0.04 | 140.93 ▼7.78 | 103.34 ▼4.51 |
Posts /wp-admin/edit.php | 2,831 ▲92 | 2.71 ▲0.01 | 68.95 ▼0.07 | 77.26 ▼10.69 |
Add New Post /wp-admin/post-new.php | 1,568 ▲68 | 18.92 ▲0.36 | 366.36 ▼9.74 | 102.78 ▼7.06 |
Media Library /wp-admin/upload.php | 1,899 ▲89 | 5.05 ▲0.04 | 152.40 ▲4.43 | 116.93 ▼0.50 |
Addurilka /wp-admin/options-general.php?page=wp_ya_addurl-plugin | 1,401 | 2.09 | 56.01 | 102.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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 3 options in the database
- wp_ya_addurl_setting_show_yandex
- wp_ya_addurl_setting_webmaster_tool
- wp_ya_addurl_setting_show_google
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addurilka/wp-ya-addurl.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: addurl, seo, google, yandex
addurilka/wp-ya-addurl.php 92% from 13 tests
The entry point to "Addurilka" version 0.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("addurilka.php" instead of "wp-ya-addurl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin638 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 11 | 429 |
PO File | 1 | 86 | 106 | 209 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected