Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/iksweb/iksweb.php+633
syntax error, unexpected '?>
', expecting function (T_FUNCTION) or const (T_CONST)
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.21ms] Passed 4 tests
Server-side resources used by WordPress Старт
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.04 ▲1.77 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.70 ▼13.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.05 ▲0.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.41 ▼26.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.50 ▼1.16 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Старт
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.07 ▼0.28 | 1.80 ▼0.04 | 43.01 ▲1.39 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.04 | 97.78 ▲8.09 | 42.14 ▲1.61 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.96 ▼0.16 | 38.10 ▼2.62 | 33.66 ▼3.68 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.17 ▲0.22 | 679.32 ▲19.29 | 53.69 ▼0.94 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▼0.01 | 102.20 ▼4.53 | 43.09 ▼1.63 |
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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/iksweb/classes/forms_iksweb.php
- > /wp-content/plugins/iksweb/classes/recaptha_iksweb.php
- > /wp-content/plugins/iksweb/classes/cyrlitera_iksweb.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected '?>\r', expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/iksweb/iksweb.php on line 633
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: forms, iksweb, seo, recaptha, design panel...
iksweb/iksweb.php 92% from 13 tests
This is the main PHP file of "WordPress Старт" version 3.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 356 characters long)
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 detected3,094 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 561 | 402 | 2,752 |
CSS | 2 | 8 | 15 | 202 |
JavaScript | 3 | 42 | 13 | 139 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 71.50 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 45 | 91.84% |
▷ Protected methods | 2 | 4.08% |
▷ Private methods | 2 | 4.08% |
Functions | 37 | |
▷ Named functions | 35 | 94.59% |
▷ Anonymous functions | 2 | 5.41% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.30MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/small-2.png | 57.00KB | 16.69KB | ▼ 70.71% |
assets/img/status_icons.png | 3.25KB | 2.13KB | ▼ 34.59% |
assets/img/i-info.png | 0.13KB | 0.23KB | 0.00% |
assets/img/copy-logo.png | 1.65KB | 0.65KB | ▼ 60.59% |
assets/img/sprite-2.png | 93.39KB | 29.11KB | ▼ 68.83% |