Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.19ms] Passed 4 tests
This is a short check of server-side resources used by Multiple Excerpt Lengths
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.53 ▲1.40 |
Dashboard /wp-admin | 3.34 ▼0.00 | 43.85 ▼15.83 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.92 ▼4.39 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.49 ▼5.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.84 ▲3.33 |
Excerpt Lengths /wp-admin/options-general.php?page=multiple-excerpt-lengths | 3.23 | 29.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Excerpt Lengths
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.16 ▼1.64 | 1.80 ▲0.06 | 44.97 ▲5.87 |
Dashboard /wp-admin | 2,210 ▲28 | 4.86 ▼0.03 | 101.25 ▼4.19 | 39.58 ▼1.42 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.05 | 35.65 ▼6.32 | 34.39 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.31 ▲0.86 | 601.61 ▼18.23 | 50.61 ▼3.25 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.40 ▲0.09 | 99.94 ▼4.33 | 41.33 ▼5.81 |
Excerpt Lengths /wp-admin/options-general.php?page=multiple-excerpt-lengths | 891 | 2.17 | 21.76 | 26.22 |
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
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/multiple-excerpt-lengths/multiple-excerpt-lengths.php
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: wp_query, excerpts, wp_loop, excerpt
multiple-excerpt-lengths/multiple-excerpt-lengths.php Passed 13 tests
The entry point to "Multiple Excerpt Lengths" version 1.2 is a PHP file that has certain tags in its header comment area
134 characters long description:
Allows you to change the lengths of WordPress excerpts (the_excerpt) that are present at various pages/templates throughout your site.
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
Good job! No executable or dangerous file extensions detected172 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 9 | 172 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin