Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.60ms] Passed 4 tests
Analyzing server-side resources used by Simply Excerpts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.39 ▼0.59 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.19 ▼13.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.77 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.58 ▼13.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.20 ▼2.17 |
Simply Excerpts Settings /wp-admin/options-general.php?page=sfly_excerpt_settings | 3.22 | 33.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simply Excerpts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.35 | 1.61 ▼0.16 | 39.55 ▼3.32 |
Dashboard /wp-admin | 2,199 ▲22 | 5.51 ▼0.15 | 81.64 ▼4.95 | 38.28 ▼3.58 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.02 | 39.95 ▼1.14 | 35.29 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.03 ▼5.39 | 609.41 ▼60.57 | 67.59 ▲18.72 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.17 ▼0.07 | 96.54 ▼12.15 | 42.85 ▼4.29 |
Simply Excerpts Settings /wp-admin/options-general.php?page=sfly_excerpt_settings | 869 | 2.00 | 23.38 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simply-excerpts/simply-excerpts.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Requires at least: Invalid plugin version format
- Screenshots: Screenshot #1 (Settings) image required
- Donate link: Please fix this invalid URI: "Donate link: https://www.paypal.com/paypalme/nomadnewyork"
- Plugin Name: You should set the name of your plugin on the first line (
=== simply-excerpts ===
)
simply-excerpts/simply-excerpts.php Passed 13 tests
The main PHP file in "Simply Excerpts" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
Simply modify the number of words and replace the elipsis (...) with text for excerpts
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
No dangerous file extensions were detected108 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 83 | 108 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
It is recommended to compress PNG files in your plugin to 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 |
screenshot-1.png | 12.94KB | 6.04KB | ▼ 53.32% |