Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.79ms] Passed 4 tests
Server-side resources used by What's New for Ameba blog
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.78 ▲3.24 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.32 ▼0.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.50 ▼6.13 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.55 ▼40.28 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.35 ▲0.13 |
What's new for Ameba blog /wp-admin/options-general.php?page=amebawhatsnew_show_admin_panel | 3.25 | 30.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by What's New for Ameba blog
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.20 ▼1.09 | 1.73 ▼0.28 | 42.70 ▼2.48 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.03 | 113.73 ▲0.85 | 42.87 ▼2.28 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.97 ▼0.09 | 39.08 ▼2.06 | 33.61 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,537 ▼1 | 23.19 ▲0.16 | 656.16 ▲23.59 | 56.31 ▲2.10 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.03 | 96.02 ▼4.34 | 42.85 ▲0.28 |
What's new for Ameba blog /wp-admin/options-general.php?page=amebawhatsnew_show_admin_panel | 825 | 2.19 | 24.57 | 25.22 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/whats-new-for-ameba-blog/whats-new-for-ameba-blog.php:362
- > PHP Fatal error
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 97% 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
Attributes that require attention:
- Tested up to: Version format is invalid
whats-new-for-ameba-blog/whats-new-for-ameba-blog.php Passed 13 tests
The main file in "What's New for Ameba blog" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
Show What's new list of Ameba blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected339 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 200 | 274 |
PO File | 1 | 13 | 7 | 35 |
CSS | 2 | 3 | 0 | 30 |
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.22 |
Average class complexity | 6.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 57.14% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
There were not PNG files found in your plugin