Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.26ms] Passed 4 tests
This is a short check of server-side resources used by Freeton WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 44.70 ▲8.56 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.06 ▼1.90 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.65 ▲0.13 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 80.46 ▼14.35 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.32 ▲3.07 |
WP FreeTon setting /wp-admin/admin.php?page=web-freeton-wp | 3.33 | 31.38 |
Style Settings /wp-admin/admin.php?page=web-freeton-wp-styles | 3.33 | 28.01 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Freeton WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲196 | 14.01 ▼0.36 | 7.08 ▲5.29 | 37.71 ▼0.94 |
Dashboard /wp-admin | 2,238 ▲50 | 5.07 ▼0.01 | 101.75 ▼0.43 | 35.58 ▼9.80 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.29 ▲0.28 | 38.26 ▼0.88 | 36.91 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.48 ▲5.89 | 663.77 ▲43.51 | 59.09 ▲6.22 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.45 ▲0.26 | 97.56 ▼1.40 | 43.71 ▲0.38 |
WP FreeTon setting /wp-admin/admin.php?page=web-freeton-wp | 908 | 1.92 | 26.22 | 27.15 |
Style Settings /wp-admin/admin.php?page=web-freeton-wp-styles | 822 | 1.90 | 23.39 | 24.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/freeton-wp/freeton-wp.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=web-freeton-wp
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: edf is not defined" "ReferenceError: edf is not defined\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=web-freeton-wp:188:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=web-freeton-wp
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: edf is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors field is missing
freeton-wp/freeton-wp.php Passed 13 tests
The main file in "Freeton WP" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
25 characters long description:
Login with FreeTon Wallet
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3,350 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 185 | 140 | 1,252 |
PHP | 2 | 210 | 44 | 1,228 |
CSS | 3 | 36 | 18 | 479 |
PO File | 2 | 168 | 180 | 391 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 150.00 |
▷ Minimum class complexity | 150.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin