Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼1.07ms] Passed 4 tests
This is a short check of server-side resources used by Sewn In Simple Social Optimization
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 43.93 ▲6.30 |
Dashboard /wp-admin | 3.58 ▲0.28 | 52.91 ▲2.09 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 52.66 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 95.03 ▼3.63 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 39.95 ▼3.86 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Sewn In Simple Social Optimization
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲17 | 14.72 ▲0.37 | 1.86 ▲0.09 | 42.51 ▼3.54 |
Dashboard /wp-admin | 2,192 ▲12 | 5.62 ▲0.08 | 94.30 ▲1.35 | 42.88 ▼4.11 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.95 ▼0.06 | 41.48 ▲1.91 | 36.07 ▼4.36 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,877 | 25.84 ▲1.99 | 970.75 ▲296.23 | 67.70 ▲7.47 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.16 ▼0.06 | 101.62 ▼3.31 | 44.55 ▲0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Sewn_Seo_Frontend' not found in wp-content/plugins/sewn-in-simple-social-optimization/includes/class-frontend-social.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is required in sewn-in-simple-social-optimization/assets to your readme.txt
sewn-in-simple-social-optimization/sewn-simple-social-optimization.php 69% from 13 tests
The principal PHP file in "Sewn In Simple Social Optimization" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sewn-in-simple-social-optimization.php" instead of "sewn-simple-social-optimization.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,720 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 264 | 681 | 1,379 |
CSS | 2 | 27 | 6 | 235 |
JavaScript | 2 | 20 | 30 | 106 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 37.83 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 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 | 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 files were detected