Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.26ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Excerpt
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.68 ▼2.85 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.14 ▼5.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.59 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.63 ▲8.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.08 ▲2.76 |
Excerpt /wp-admin/options-general.php?page=advanced-excerpt | 3.32 | 31.04 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
advanced_excerpt |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Excerpt
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.18 ▼1.20 | 1.89 ▼0.02 | 42.47 ▼3.17 |
Dashboard /wp-admin | 2,207 ▲19 | 5.84 ▼0.02 | 94.95 ▼23.66 | 41.46 ▼2.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 37.72 ▲2.12 | 34.39 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.15 ▼0.04 | 676.48 ▲34.66 | 49.89 ▼3.05 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.21 ▲0.04 | 111.71 ▲6.44 | 47.76 ▲2.61 |
Excerpt /wp-admin/options-general.php?page=advanced-excerpt | 2,269 | 1.92 | 26.62 | 48.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/advanced-excerpt/functions/functions.php:96
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advanced-excerpt/template/options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advanced-excerpt/template/sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-excerpt/advanced-excerpt.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
5 plugin tags: excerpt, formatting, post, post excerpt, content
advanced-excerpt/advanced-excerpt.php Passed 13 tests
The main file in "Advanced Excerpt" v. 4.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
Control the appearance of WordPress post excerpts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin937 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 138 | 75 | 729 |
CSS | 1 | 0 | 0 | 125 |
JavaScript | 2 | 14 | 6 | 83 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 91.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin