Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/wtyczka-seopilot-dla-wp/SeoPilotClient.php+207
unlink(wp-content/plugins/wtyczka-seopilot-dla-wp/.pages.db): No such file or directory
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.81ms] Passed 4 tests
This is a short check of server-side resources used by Wtyczka SeoPilot dla WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 51.45 ▲6.03 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.75 ▼11.36 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.18 ▲3.00 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 88.33 ▼10.88 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.21 ▲4.01 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_seopilot |
Browser metrics Passed 4 tests
A check of browser resources used by Wtyczka SeoPilot dla WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.16 ▼1.28 | 2.19 ▲0.32 | 43.55 ▼1.12 |
Dashboard /wp-admin | 2,237 ▲40 | 5.84 ▲0.94 | 102.05 ▼27.11 | 40.95 ▼7.36 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.98 ▲0.01 | 38.00 ▼4.20 | 37.85 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.12 ▼0.08 | 683.77 ▼3.04 | 72.51 ▲15.81 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.12 ▼0.15 | 116.71 ▲2.47 | 47.94 ▲1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_seopilot
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wtyczka-seopilot-dla-wp/SeoPilotClient.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wtyczka-seopilot-dla-wp/inc/widgets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wtyczka-seopilot-dla-wp/seopilot.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: shortcode, moneymaker, advertising, widget
wtyczka-seopilot-dla-wp/seopilot.php 92% from 13 tests
The main PHP file in "Wtyczka SeoPilot dla WP" ver. 3.3.091 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wtyczka-seopilot-dla-wp.php" instead of "seopilot.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin688 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 126 | 68 | 688 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 49.33 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 5.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 7 | 20.59% |
▷ Public methods | 19 | 55.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 44.12% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin