Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.93ms] Passed 4 tests
An overview of server-side resources used by FLiP - Portuguese Proofing Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.24 ▼2.88 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.66 ▼5.10 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 49.41 ▼6.20 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.15 ▼11.68 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.73 ▼4.72 |
FLiP /wp-admin/options-general.php?page=flip_settings | 3.28 | 34.15 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for FLiP - Portuguese Proofing Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 14.44 ▲0.06 | 1.82 ▼0.21 | 44.00 ▲2.01 |
Dashboard /wp-admin | 2,212 ▲24 | 5.80 ▼0.08 | 134.99 ▲28.51 | 49.05 ▲7.34 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.05 ▲0.05 | 36.51 ▼7.93 | 32.12 ▼5.00 |
Add New Post /wp-admin/post-new.php | 1,368 ▼151 | 19.64 ▼3.46 | 551.71 ▼121.02 | 57.97 ▲0.10 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.04 | 97.72 ▼13.52 | 43.01 ▼4.48 |
FLiP /wp-admin/options-general.php?page=flip_settings | 928 | 2.02 | 26.80 | 33.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/flip/settings_page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: style checker, grammar checker, spelling reform, speller
flip/flip.php Passed 13 tests
"FLiP - Portuguese Proofing Tools" version 1.5.14's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
105 characters long description:
Portuguese spell checker, grammar checker and style checker, with or without the Spelling Reform of 1990.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,100 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 220 | 54 | 1,382 |
PO File | 3 | 131 | 220 | 371 |
PHP | 2 | 75 | 25 | 296 |
CSS | 1 | 15 | 0 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
status_haserrors.png | 0.78KB | 0.92KB | 0.00% |
status_disabled.png | 0.45KB | 0.71KB | 0.00% |
flip9.png | 9.17KB | 4.85KB | ▼ 47.09% |
gram_error.png | 0.15KB | 0.10KB | ▼ 34.81% |
ort_error.png | 0.15KB | 0.10KB | ▼ 33.97% |