Benchmarks
Plugin footprint 83% 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.17MB] [CPU: ▼2.52ms] Passed 4 tests
This is a short check of server-side resources used by SEO Copywriting
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.59 ▼4.44 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.16 ▼7.20 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 51.00 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 89.60 ▼0.55 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 46.71 ▲14.16 |
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login | 3.38 | 32.98 |
Copy /wp-admin/admin.php?page=seo-copy | 3.36 | 33.58 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for SEO Copywriting
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.37 ▼1.00 | 1.56 ▼0.16 | 45.28 ▲2.19 |
Dashboard /wp-admin | 2,242 ▲57 | 5.04 ▼0.85 | 111.94 ▼6.71 | 32.92 ▼12.56 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.53 ▲0.54 | 40.06 ▲4.61 | 29.69 ▼8.94 |
Add New Post /wp-admin/post-new.php | 6,768 ▲5,248 | 28.02 ▲4.86 | 972.43 ▲264.71 | 44.52 ▼21.20 |
Media Library /wp-admin/upload.php | 1,496 ▲114 | 4.49 ▲0.30 | 115.14 ▲9.10 | 45.64 ▲1.04 |
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login | 958 | 1.96 | 27.84 | 23.87 |
Copy /wp-admin/admin.php?page=seo-copy | 876 | 1.96 | 26.59 | 21.11 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-copywriting/public/partials/seocopy-public-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-copywriting/admin/partials/seocopy-admin-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-copywriting/admin/partials/seocopy-admin-querysuggestion-box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-copywriting/admin/partials/seocopy-admin-custom-box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/seo-copywriting/admin/partials/seocopy-admin-display.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
8 plugin tags: plugin copywriting, seo, keyword, seo plugin, google keywords...
seo-copywriting/seocopy.php 85% from 13 tests
Analyzing the main PHP file in "SEO Copywriting" version 2.3.6
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seo-copywriting.php" instead of "seocopy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,542 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 175 | 248 | 1,197 |
PHP | 17 | 203 | 564 | 1,014 |
CSS | 3 | 2 | 16 | 215 |
PO File | 1 | 35 | 37 | 113 |
Markdown | 1 | 0 | 0 | 2 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 5 | 9.43% |
▷ Public methods | 47 | 88.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.32% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 3.09KB | 2.05KB | ▼ 33.81% |