Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.85ms] Passed 4 tests
This is a short check of server-side resources used by Braille
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.33 ▲3.37 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.30 ▲0.51 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.13 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.24 ▲0.64 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.29 ▲0.64 |
Braille Plugin /wp-admin/options-general.php?page=edu-umd-mith-braille | 3.26 | 33.75 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Braille: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.69 ▲0.02 | 1.77 ▼0.04 | 43.28 ▼4.17 |
Dashboard /wp-admin | 2,204 ▲16 | 5.85 ▼0.04 | 102.23 ▼11.84 | 39.62 ▼7.43 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.97 ▼0.07 | 41.09 ▲5.36 | 37.25 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 18.17 ▼4.87 | 650.73 ▲15.55 | 54.46 ▼2.58 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.26 ▼0.03 | 98.58 ▼1.61 | 45.18 ▲3.56 |
Braille Plugin /wp-admin/options-general.php?page=edu-umd-mith-braille | 845 | 2.15 | 25.25 | 25.06 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/braille/braille.php:2
- > PHP Warning
Use of undefined constant ANTHOLOGIZE_TEIDOMAPI_PATH - assumed 'ANTHOLOGIZE_TEIDOMAPI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/braille/templates/brl/output.php on line 4
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/braille/templates/brl/output.php on line 5
- > PHP Warning
Use of undefined constant ANTHOLOGIZE_TEIDOM_PATH - assumed 'ANTHOLOGIZE_TEIDOM_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/braille/templates/brl/output.php on line 3
- > PHP Warning
require_once(WP_PLUGIN_DIR/anthologize/includes/theming-functions.php): failed to open stream: No such file or directory in wp-content/plugins/braille/templates/brl/output.php on line 5
- > PHP Warning
include_once(): Failed opening 'ANTHOLOGIZE_TEIDOM_PATH' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/braille/templates/brl/output.php on line 3
- > PHP Warning
include_once(ANTHOLOGIZE_TEIDOM_PATH): failed to open stream: No such file or directory in wp-content/plugins/braille/templates/brl/output.php on line 3
- > PHP Warning
include_once(ANTHOLOGIZE_TEIDOMAPI_PATH): failed to open stream: No such file or directory in wp-content/plugins/braille/templates/brl/output.php on line 4
- > PHP Warning
include_once(): Failed opening 'ANTHOLOGIZE_TEIDOMAPI_PATH' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/braille/templates/brl/output.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'WP_PLUGIN_DIR/anthologize/includes/theming-functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/braille/templates/brl/output.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: braille, plugin, anthologize
braille/braille.php Passed 13 tests
The main file in "Braille" v. 0.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
89 characters long description:
This plugin allows you to incorporate SimBraille or BRL formatted text from English text.
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
Success! There were no dangerous files found in this plugin572 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 170 | 110 | 566 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected