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.03MB] [CPU: ▼5.37ms] Passed 4 tests
Server-side resources used by Snufel Free Guest Posting
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 36.75 ▼3.74 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.21 ▼7.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.45 ▼8.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 93.14 ▼1.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.76 ▲4.21 |
Snufel Free Guest Post Settings /wp-admin/options-general.php?page=snufel-free-guest-post-settings | 3.22 | 31.99 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Snufel Free Guest Posting
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.60 ▼0.85 | 5.31 ▲3.47 | 40.53 ▼4.67 |
Dashboard /wp-admin | 2,217 ▲35 | 5.88 ▲0.04 | 108.33 ▲4.83 | 42.23 ▼1.98 |
Posts /wp-admin/edit.php | 2,100 ▲32 | 2.01 ▲0.00 | 39.43 ▲5.29 | 36.15 ▲3.04 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 17.56 ▼5.55 | 657.87 ▼26.04 | 52.82 ▼7.41 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.19 ▼0.02 | 99.84 ▼15.47 | 42.42 ▼8.15 |
Snufel Free Guest Post Settings /wp-admin/options-general.php?page=snufel-free-guest-post-settings | 905 | 2.06 | 22.77 | 29.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/snufel-free-guest-post/admin/partials/snufel-free-guest-admin-display.php
- > /wp-content/plugins/snufel-free-guest-post/public/partials/snufel-free-guest-public-display.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/snufel-free-guest-post/public/class-snufel-free-guest-public.php:109
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/snufel-free-guest-post/admin/class-snufel-free-guest-admin.php:284
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
5 plugin tags: backlink, free guestpost, guestposting, seo, guestpost
snufel-free-guest-post/snufel-free-guest.php 77% from 13 tests
"Snufel Free Guest Posting" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("snufel-free-guest-post.php" instead of "snufel-free-guest.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin577 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 207 | 553 | 537 |
CSS | 2 | 3 | 8 | 34 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin