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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.27ms] Passed 4 tests
A check of server-side resources used by SeoSamba for WordPress Webmasters
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 37.34 ▼0.85 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.87 ▼3.64 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 44.07 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.26 ▼3.24 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.23 ▲0.49 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for SeoSamba for WordPress Webmasters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.25 ▼0.11 | 1.57 ▼0.09 | 39.76 ▼4.65 |
Dashboard /wp-admin | 2,235 ▲55 | 5.55 ▼0.12 | 83.13 ▼6.19 | 36.61 ▼6.86 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.04 ▲0.03 | 35.48 ▼1.44 | 34.69 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.15 ▲4.90 | 660.40 ▲50.71 | 52.78 ▼18.78 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.25 ▲0.07 | 93.99 ▼13.71 | 39.86 ▼6.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/seosamba-webmasters/seosamba-webmasters.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SeosambaWebmasters' not found in wp-content/plugins/seosamba-webmasters/modules/admin.php:6
- > PHP Fatal error
Uncaught Error: Class 'SeosambaWebmasters' not found in wp-content/plugins/seosamba-webmasters/includes/sitemap.php:9
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: wordpress seo, google webmaster tools, xml sitemap, google sitemap, search engine rankings...
seosamba-webmasters/seosamba-webmasters.php 92% from 13 tests
The main PHP file in "SeoSamba for WordPress Webmasters" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 148 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
No dangerous file extensions were detected17,436 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 9,128 |
CSS | 5 | 207 | 8 | 7,126 |
PHP | 5 | 154 | 85 | 810 |
SVG | 1 | 0 | 0 | 306 |
JavaScript | 1 | 12 | 21 | 66 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 17 | 47.22% |
▷ Protected methods | 10 | 27.78% |
▷ Private methods | 9 | 25.00% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 17 | |
▷ Global constants | 1 | 5.88% |
▷ Class constants | 16 | 94.12% |
▷ Public constants | 16 | 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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/samba-logo.png | 12.98KB | 4.57KB | ▼ 64.77% |