Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.01ms] Passed 4 tests
Analyzing server-side resources used by Blogpatcher SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.85 ▼9.78 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.32 ▼4.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.07 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.11 ▼1.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.26 ▲2.52 |
All Posts /wp-admin/edit.php?post_type=book | 3.29 | 42.84 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Blogpatcher SEO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲87 | 13.22 ▼1.09 | 1.67 ▼0.30 | 39.90 ▼4.60 |
Dashboard /wp-admin | 2,242 ▲51 | 5.78 ▲0.88 | 94.22 ▼19.30 | 38.17 ▼10.37 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.02 | 41.79 ▲6.41 | 35.48 ▲1.11 |
Add New Post /wp-admin/post-new.php | 6,754 ▲5,220 | 20.57 ▼2.49 | 949.95 ▲297.95 | 44.64 ▼7.62 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▼0.13 | 96.02 ▼18.39 | 41.49 ▼5.82 |
All Posts /wp-admin/edit.php?post_type=book | 1,052 | 1.93 | 29.85 | 29.29 |
Uninstaller [IO: ▲0.19MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall correctly, leaving 7 files (0.19MB) in the plugin directory
- (new file) admin/css/blogpatcher-plugin-sidebar.css
- (new file) admin/js/blogpatcher-jsapi.js
- (new file) admin/js/blogpatcher-admin.js
- (new file) admin/js/blogpatcher-jquery.mark.min.js
- (new file) blogpatcher.php
- (new file) readme.txt
- (new file) admin/js/blogpatcher-plugin-sidebar.js
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blogpatcher-seo/blogpatcher.php:27
- > PHP Fatal 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: content optimization, content analysis, seo, readability
blogpatcher-seo/blogpatcher.php 77% from 13 tests
The primary PHP file in "Blogpatcher SEO" version 0.2.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blogpatcher-seo.php" instead of "blogpatcher.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,304 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 417 | 375 | 1,643 |
CSS | 1 | 84 | 38 | 427 |
PHP | 1 | 69 | 125 | 234 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 16 | |
▷ Named functions | 16 | 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
No PNG images were found in this plugin