Benchmarks
Plugin footprint 82% 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.36MB] [CPU: ▲2.59ms] 75% from 4 tests
Server-side resources used by Easy Custom Auto Excerpt
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 928.04ms on /wp-admin/admin.php?page=ecae_about_page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 46.07 ▲3.35 |
Dashboard /wp-admin | 3.66 ▲0.36 | 52.42 ▲4.35 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 48.15 ▲1.95 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 101.33 ▲0.71 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 39.70 ▲7.21 |
About ECAE /wp-admin/admin.php?page=ecae_about_page | 3.63 | 928.04 |
Settings /wp-admin/admin.php?page=tonjoo_excerpt | 3.72 | 52.49 |
Server storage [IO: ▲3.05MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 130 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ecae_start_date |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Easy Custom Auto Excerpt: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.17 ▼1.10 | 1.81 ▲0.17 | 44.53 ▲2.94 |
Dashboard /wp-admin | 2,240 ▲69 | 4.88 ▼0.02 | 115.66 ▲12.36 | 42.54 ▲0.17 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.03 ▲0.02 | 37.65 ▲2.56 | 33.15 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 23.30 ▲5.65 | 610.91 ▼64.41 | 64.16 ▲8.70 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.17 ▼0.01 | 97.12 ▼1.42 | 40.57 ▼7.71 |
About ECAE /wp-admin/admin.php?page=ecae_about_page | 1,547 | 9.78 | 296.23 | 66.28 |
Settings /wp-admin/admin.php?page=tonjoo_excerpt | 3,922 | 4.07 | 98.91 | 116.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- ecae_start_date
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-custom-auto-excerpt/upsell-page.php
- 32× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-custom-auto-excerpt/the-post.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-custom-auto-excerpt/options-page.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 15
- > PHP Notice
Undefined variable: options in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-custom-auto-excerpt/easy-custom-auto-excerpt.php:12
- > PHP Notice
Undefined variable: options in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-custom-auto-excerpt/options-page-location.php on line 34
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=ecae_about_page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught Error: ace.edit can't find div #ace-editor
- > GET request to /wp-admin/admin.php?page=tonjoo_excerpt
- > Network (severe)
wp-content/plugins/easy-custom-auto-excerpt/assets/ace-min-noconflict-css-monokai/theme-monokai.js - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: auto, automatic, read more button, content, read more...
easy-custom-auto-excerpt/easy-custom-auto-excerpt.php Passed 13 tests
This is the main PHP file of "Easy Custom Auto Excerpt" version 2.4.12, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Auto Excerpt for your post on home, front_page, search and archive.
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
Success! There were no dangerous files found in this plugin9,293 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 637 | 415 | 3,546 |
JavaScript | 13 | 605 | 430 | 2,923 |
CSS | 8 | 179 | 73 | 1,443 |
PO File | 5 | 596 | 757 | 1,381 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
68 PNG files occupy 0.32MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/premium-promo/ecae-buttonskin-arise-red.png | 3.44KB | 1.97KB | ▼ 42.52% |
assets/ecae_logo.png | 2.22KB | 1.20KB | ▼ 45.94% |
assets/premium-promo/ecae-buttonskin-soft-blue.png | 2.69KB | 1.72KB | ▼ 36.22% |
assets/premium-promo/ecae-buttonskin-flatland-red.png | 2.10KB | 0.85KB | ▼ 59.46% |
assets/about/banner_feature_3.png | 12.10KB | 5.12KB | ▼ 57.65% |