Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.60ms] Passed 4 tests
Server-side resources used by Scroll post excerpt
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 44.56 ▼5.15 |
Dashboard /wp-admin | 3.39 ▲0.04 | 51.02 ▼0.76 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 49.75 ▲0.06 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 83.85 ▼8.54 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 37.57 ▲1.70 |
Scroll post excerpt /wp-admin/options-general.php?page=scroll-post-excerpt/scroll-post-excerpt.php | 3.33 | 32.51 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 16 new options
New WordPress options |
---|
db_upgraded |
spe_select_categories |
widget_recent-posts |
spe_select_orderby |
can_compress_scripts |
spe_dis_num_user |
widget_recent-comments |
spe_excerpt_length |
widget_theysaidso_widget |
spe_select_num_user |
... |
Browser metrics Passed 4 tests
Scroll post excerpt: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.35 ▼0.02 | 1.96 ▼0.21 | 44.13 ▼2.91 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▲0.04 | 86.32 ▼0.82 | 41.72 ▼2.84 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▼0.01 | 35.27 ▲0.43 | 33.05 ▼8.60 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.15 ▲4.90 | 677.90 ▲44.42 | 51.85 ▼33.57 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.22 ▲0.07 | 96.48 ▼5.77 | 43.68 ▼1.20 |
Scroll post excerpt /wp-admin/options-general.php?page=scroll-post-excerpt/scroll-post-excerpt.php | 981 | 2.12 | 22.24 | 27.92 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/scroll-post-excerpt/scroll-post-excerpt.php
- > /wp-content/plugins/scroll-post-excerpt/scroll-post-setting.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: excerpt, post, scroll
scroll-post-excerpt/scroll-post-excerpt.php 92% from 13 tests
The entry point to "Scroll post excerpt" version 8.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin598 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 17 | 328 |
PO File | 3 | 84 | 90 | 231 |
JavaScript | 1 | 7 | 26 | 38 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin