Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.93MB] [CPU: ▼53.46ms] Passed 4 tests
A check of server-side resources used by Basic SEO Pack
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.55 ▼37.84 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.00 ▼45.15 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.50 ▼45.50 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.03 ▼85.34 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.34 ▼34.29 |
Basic SEO /wp-admin/options-general.php?page=bseop-options | 2.08 | 5.62 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Basic SEO Pack
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.34 ▼0.95 | 4.52 ▲2.34 | 42.72 ▼4.32 |
Dashboard /wp-admin | 2,210 ▲28 | 5.91 ▲0.03 | 110.85 ▼1.75 | 41.02 ▲1.73 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.07 | 39.15 ▼3.32 | 34.63 ▼6.74 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,733 | 25.94 ▲8.47 | 881.11 ▲176.82 | 59.97 ▲6.85 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.28 ▲0.04 | 95.07 ▼9.23 | 43.42 ▼1.62 |
Basic SEO /wp-admin/options-general.php?page=bseop-options | 917 | 2.03 | 27.06 | 48.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method BasicSEO::init() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=bseop-options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method BasicSEO::init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=bseop-options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method BasicSEO::init_menu() should not be called statically
- > GET request to /wp-admin/options-general.php?page=bseop-options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method BasicSEO::manage_options() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 plugin_dir_path() in wp-content/plugins/basic-seo-pack/basic-seo-pack.php:34
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Basic SEO options page where you can set global keywords and description), #2 (Basic SEO options page where you can set Search engine verification (google, bing)), #3 (Alexa verification and google analytics), #4 (Basic SEO metabox displayed on a single page/post edit form)
basic-seo-pack/basic-seo-pack.php 92% from 13 tests
The main file in "Basic SEO Pack" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 268 characters long)
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
Good job! No executable or dangerous file extensions detected367 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 144 | 96 | 367 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 81.00 |
▷ Minimum class complexity | 81.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 7.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
7 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 17.75KB | 6.95KB | ▼ 60.84% |
screenshot-4.png | 22.14KB | 8.61KB | ▼ 61.13% |
screenshot-1.png | 31.64KB | 12.16KB | ▼ 61.55% |
images/as-234x60.png | 16.44KB | 6.01KB | ▼ 63.42% |
images/5-stars.png | 5.86KB | 2.94KB | ▼ 49.79% |