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.04MB] [CPU: ▼141.96ms] Passed 4 tests
An overview of server-side resources used by Minimum Word Count
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 50.41 ▲5.84 |
Dashboard /wp-admin | 3.10 ▲0.04 | 69.38 ▲8.84 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 62.77 ▼7.46 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 121.55 ▼554.01 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 36.03 ▼12.20 |
Min Word Count /wp-admin/options-general.php?page=mwc_admin | 2.99 | 39.93 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 3 new options
New WordPress options |
---|
mwc_warnings |
minimum_word_count_min |
mwc_errors |
Browser metrics Passed 4 tests
An overview of browser requirements for Minimum Word Count
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,694 ▲122 | 15.83 ▲0.16 | 11.53 ▲1.63 | 57.51 ▲2.45 |
Dashboard /wp-admin | 2,969 ▲38 | 5.97 ▲0.02 | 178.11 ▲21.40 | 133.08 ▲15.95 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.71 ▼0.00 | 91.15 ▲14.44 | 95.17 ▼7.07 |
Add New Post /wp-admin/post-new.php | 1,623 ▲42 | 21.46 ▲4.00 | 322.85 ▼236.19 | 109.13 ▼43.61 |
Media Library /wp-admin/upload.php | 1,753 ▼51 | 5.01 ▼0.01 | 190.37 ▼17.35 | 138.77 ▼77.68 |
Min Word Count /wp-admin/options-general.php?page=mwc_admin | 1,199 | 2.10 | 67.29 | 90.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 3 options in the database
- mwc_warnings
- minimum_word_count_min
- mwc_errors
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=mwc_admin
- > Notice in wp-content/plugins/minimum-word-count/minimum-word-count.php+145
Undefined variable: mwc_updated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/minimum-word-count/minimum-word-count.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Administration settings), #2 (Word Count column), #3 (Live Word Count)
minimum-word-count/minimum-word-count.php Passed 13 tests
The entry point to "Minimum Word Count" version 0.7.0 is a PHP file that has certain tags in its header comment area
54 characters long description:
Set the minimum word count required to publish a post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin231 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 20 | 203 |
JavaScript | 1 | 9 | 12 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 61.71KB | 55.47KB | ▼ 10.12% |
screenshot-2.png | 48.85KB | 31.33KB | ▼ 35.86% |
screenshot-1.png | 56.75KB | 23.02KB | ▼ 59.44% |