Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.40ms] Passed 4 tests
An overview of server-side resources used by Semrush ContentShake
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.24 ▼11.49 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.17 ▼3.57 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.46 ▼0.05 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 98.11 ▼6.50 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.16 ▲0.46 |
ContentShake /wp-admin/options-general.php?page=contentshake | 3.26 | 33.89 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
semrush_contentshake_api_key_accepting |
widget_theysaidso_widget |
semrush_contentshake_api_key |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Semrush ContentShake: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.25 ▼1.13 | 1.82 ▼0.39 | 37.30 ▲0.25 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▼0.05 | 108.74 ▲0.35 | 42.17 ▼4.51 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.04 ▲0.07 | 39.29 ▼2.30 | 34.59 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.45 ▲5.08 | 668.97 ▲51.91 | 52.26 ▼2.36 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.02 | 96.33 ▼4.55 | 40.68 ▼2.31 |
ContentShake /wp-admin/options-general.php?page=contentshake | 805 | 2.01 | 23.43 | 44.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/semrush-contentshake/contentshake.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/semrush-contentshake/pages/settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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: semrush, content marketing, seo, ai
semrush-contentshake/contentshake.php 85% from 13 tests
The entry point to "Semrush ContentShake" version 1.1.21 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("semrush-contentshake.php" instead of "contentshake.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
Good job! No executable or dangerous file extensions detected274 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 83 | 274 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 1.20MB with 0.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo@2x.png | 4.84KB | 3.16KB | ▼ 34.71% |
images/banner.png | 106.39KB | 27.93KB | ▼ 73.75% |
images/logo@3x.png | 7.81KB | 4.51KB | ▼ 42.31% |
images/banner@3x.png | 742.61KB | 195.36KB | ▼ 73.69% |
images/logo.png | 2.26KB | 1.83KB | ▼ 19.28% |