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.14MB] [CPU: ▼10.62ms] Passed 4 tests
A check of server-side resources used by Cyklodev WP Auto Summarizer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.36 ▼1.58 |
Dashboard /wp-admin | 3.11 ▼0.20 | 28.58 ▼17.69 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.76 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 69.09 ▼19.09 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 29.51 ▼3.65 |
Summary /wp-admin/admin.php?page=cyklodev_summary | 3.09 | 26.86 |
Abstract /wp-admin/admin.php?page=cyklodev_abstract | 3.09 | 26.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Cyklodev WP Auto Summarizer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 14.65 ▲0.30 | 1.63 ▼0.23 | 39.83 ▼2.72 |
Dashboard /wp-admin | 2,232 ▲55 | 5.70 ▲0.14 | 94.46 ▲7.87 | 38.18 ▼6.39 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.08 ▲0.11 | 42.33 ▲3.02 | 35.16 ▲0.46 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,721 | 25.99 ▲2.46 | 927.95 ▲227.18 | 56.62 ▲5.60 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.27 ▲0.11 | 111.09 ▲10.08 | 50.59 ▲3.68 |
Summary /wp-admin/admin.php?page=cyklodev_summary | 953 | 2.12 | 30.47 | 48.46 |
Abstract /wp-admin/admin.php?page=cyklodev_abstract | 943 | 2.13 | 29.43 | 54.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyklodev_abstract
- > Notice in wp-content/plugins/cyklodev-wp-auto-summerizer/includes/abstract.php+15
Trying to get property 'ID' of non-object
- > GET request to /wp-admin/admin.php?page=cyklodev_summary
- > Notice in wp-content/plugins/cyklodev-wp-auto-summerizer/views/params.php+13
Undefined index: cyklodev_summary_nonce
- > GET request to /wp-admin/admin.php?page=cyklodev_abstract
- > Notice in wp-content/plugins/cyklodev-wp-auto-summerizer/views/abstract.php+15
Undefined index: cyklodev_summary_abstract
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
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/views/params.php
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/views/abstract.php
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/includes/menu.php
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/includes/abstract.php
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/index.php
- > /wp-content/plugins/cyklodev-wp-auto-summerizer/includes/summary.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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: post, plugin, shortcode, summary
cyklodev-wp-auto-summerizer/index.php 92% from 13 tests
The principal PHP file in "Cyklodev WP Auto Summarizer" v. 1.2.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cyklodev-wp-auto-summerizer.php" instead of "index.php")
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 plugin520 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 34 | 410 |
JavaScript | 1 | 18 | 25 | 110 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cyklodev.png | 12.79KB | 6.17KB | ▼ 51.73% |