Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼308.99ms] Passed 4 tests
Server-side resources used by Super Simple Related Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.09 | 54.83 ▼4.35 |
Dashboard /wp-admin | 3.49 ▲0.08 | 35.71 ▼1.12 |
Posts /wp-admin/edit.php | 3.72 ▲0.09 | 42.95 ▲6.01 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 95.58 ▼1,225.06 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 25.32 ▼5.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_ssrp |
Browser metrics Passed 4 tests
A check of browser resources used by Super Simple Related Posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,749 ▼9 | 15.12 ▼0.50 | 5.66 ▼0.26 | 2.46 ▼0.03 |
Dashboard /wp-admin | 2,881 ▲27 | 6.09 ▼0.06 | 128.09 ▼12.42 | 166.47 ▼1.39 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.22 ▼0.01 | 64.87 ▲0.83 | 145.20 ▼45.11 |
Add New Post /wp-admin/post-new.php | 1,690 ▲29 | 21.53 ▲4.72 | 447.40 ▲5.88 | 161.29 ▼15.60 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▼0.02 | 151.54 ▲9.60 | 194.09 ▲6.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- widget_ssrp
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/super-simple-related-posts/super-simple-related-posts.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: taxonomy, related, tag, posts, content...
super-simple-related-posts/super-simple-related-posts.php Passed 13 tests
Analyzing the main PHP file in "Super Simple Related Posts" version 1.5.4
94 characters long description:
A super simple plugin to output related posts based on categories, tags, or custom taxonomies.
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
Success! There were no dangerous files found in this plugin306 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 97 | 167 | 291 |
PO File | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin