Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.75ms] Passed 4 tests
Analyzing server-side resources used by Summy: Excerpt Extraction
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.88 ▼2.58 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.43 ▼4.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.18 ▼11.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.95 ▼9.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.21 ▲3.30 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
summy |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Summy: Excerpt Extraction: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.13 | 1.78 ▲0.14 | 38.87 ▼11.66 |
Dashboard /wp-admin | 2,209 ▲24 | 4.87 ▼0.94 | 107.10 ▼2.65 | 38.87 ▼6.88 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.06 | 34.53 ▼7.69 | 34.92 ▼0.20 |
Add New Post /wp-admin/post-new.php | 6,431 ▲4,917 | 26.05 ▲8.43 | 926.84 ▲282.77 | 68.56 ▲20.17 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.23 ▲0.09 | 100.85 ▼4.17 | 43.56 ▼3.08 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/summy/inc/setup.php
- > /wp-content/plugins/summy/summy.php
- > /wp-content/plugins/summy/inc/ui.php
- > /wp-content/plugins/summy/inc/backend.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Summy\\Filter\\StopWords' not found in wp-content/plugins/summy/lib/Summy/Filter/Gr/StopWords.php:10
- > PHP Fatal error
Uncaught Error: Class 'Summy\\Filter\\StopWords' not found in wp-content/plugins/summy/lib/Summy/Filter/En/StopWords.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
5 plugin tags: summary, extraction, excerpt, generation, auto
summy/summy.php Passed 13 tests
The principal PHP file in "Summy: Excerpt Extraction" v. 1.0.3 is loaded by WordPress automatically on each request
113 characters long description:
Summy can generate excerpts for your posts by applying various algorithms for automatic summarization extraction.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,690 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 250 | 606 | 2,475 |
PO File | 2 | 63 | 64 | 182 |
JavaScript | 2 | 2 | 5 | 33 |
HTML | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 19.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 6.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 12 | 29.27% |
▷ Public methods | 30 | 73.17% |
▷ Protected methods | 1 | 2.44% |
▷ Private methods | 10 | 24.39% |
Functions | 8 | |
▷ Named functions | 3 | 37.50% |
▷ Anonymous functions | 5 | 62.50% |
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
No PNG images were found in this plugin