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.30MB] [CPU: ▼15.46ms] Passed 4 tests
An overview of server-side resources used by Native WP Excerpt
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 31.45 ▼5.98 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.26 ▼1.86 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.45 ▲5.14 |
Add New Post /wp-admin/post-new.php | 4.63 ▼1.26 | 41.44 ▼55.04 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.26 ▲1.04 |
Native WP Excerpt /wp-admin/options-general.php?page=native-wp-excerpt | 3.20 | 30.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Native WP Excerpt
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.29 ▼1.34 | 1.63 ▼0.03 | 41.02 ▲1.10 |
Dashboard /wp-admin | 2,210 ▲18 | 4.87 ▼0.08 | 97.47 ▼7.19 | 39.23 ▲1.15 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▼0.00 | 39.17 ▲2.52 | 33.63 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,517 ▼18 | 17.60 ▼5.53 | 685.35 ▲56.32 | 54.74 ▲6.84 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.29 ▲0.11 | 101.66 ▲2.22 | 44.46 ▲2.44 |
Native WP Excerpt /wp-admin/options-general.php?page=native-wp-excerpt | 899 | 2.04 | 22.70 | 26.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=native-wp-excerpt
- > Notice in wp-content/plugins/native-wp-excerpt/native-wp-excerpt.php+103
Trying to access array offset on value of type bool
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 return non-empty strings:
- > /wp-content/plugins/native-wp-excerpt/native-wp-excerpt.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add a description for screenshot #1 in native-wp-excerpt/assets to your readme.txt
native-wp-excerpt/native-wp-excerpt.php 92% from 13 tests
The main PHP script in "Native WP Excerpt" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 261 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin198 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 36 | 50 | 100 |
PHP | 1 | 0 | 21 | 98 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin