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.92MB] [CPU: ▼4.96ms] Passed 4 tests
This is a short check of server-side resources used by wp-Typography
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 11.44 ▲7.98 | 69.59 ▲28.30 |
Dashboard /wp-admin | 4.34 ▲1.00 | 57.37 ▼13.13 |
Posts /wp-admin/edit.php | 4.34 ▲0.99 | 52.33 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 90.17 ▼20.67 |
Media Library /wp-admin/upload.php | 4.34 ▲1.11 | 49.52 ▲12.73 |
wp-Typography /wp-admin/options-general.php?page=wp-typography | 4.34 | 41.86 |
Server storage [IO: ▲12.97MB] [DB: ▲0.09MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 255 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
typo_installed_version |
typo_configuration |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
wp-Typography: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.23 ▼0.12 | 1.66 ▲0.06 | 41.71 ▼1.36 |
Dashboard /wp-admin | 2,193 ▲13 | 5.53 ▼0.13 | 89.64 ▲0.17 | 37.94 ▼4.54 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▲0.01 | 33.69 ▼0.64 | 32.97 ▲1.06 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,851 | 27.84 ▲6.78 | 920.59 ▲184.02 | 52.84 ▼0.79 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.02 | 112.36 ▲2.97 | 46.98 ▼2.01 |
wp-Typography /wp-admin/options-general.php?page=wp-typography | 1,039 | 2.15 | 23.91 | 38.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- typo_configuration
- widget_recent-posts
- widget_theysaidso_widget
- typo_installed_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
The following issues need your attention
- 81× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'WP_Typography\\Components\\Plugin_Component' not found in wp-content/plugins/wp-typography/includes/wp-typography/components/class-public-interface.php:48
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\PHP_Typography\\Fixes\\Token_Fixes\\Abstract_Token_Fix' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/fixes/token-fixes/class-wrap-emails-fix.php:41
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\Masterminds\\HTML5\\Parser\\StringInputStream' not found in wp-content/plugins/wp-typography/vendor-scoped/masterminds/html5/src/HTML5/Parser/FileInputStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\PHP_Typography\\Fixes\ode_Fixes\\Abstract_Node_Fix' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/fixes/node-fixes/class-dewidow-fix.php:42
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\PHP_Typography\\Fixes\\Registry' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/fixes/class-default-registry.php:40
- > PHP Fatal error
Uncaught Error: Interface 'WP_Typography\\Vendor\\PHP_Typography\\Settings\\Quotes' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/settings/class-simple-quotes.php:36
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\PHP_Typography\\Fixes\ode_Fixes\\Abstract_Node_Fix' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/fixes/node-fixes/class-smart-diacritics-fix.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Typography\\Vendor\\PHP_Typography\\Fixes\\Token_Fixes\\Abstract_Token_Fix' not found in wp-content/plugins/wp-typography/vendor-scoped/mundschenk-at/php-typography/src/fixes/token-fixes/class-wrap-hard-hyphens-fix.php:40
- > PHP Fatal error
Uncaught Error: Class 'PHP_Typography\\Fixes\ode_Fixes\\Abstract_Node_Fix' not found in wp-content/plugins/wp-typography/includes/wp-typography/typography/class-custom-node-fix.php:40
- > PHP Fatal error
Uncaught Error: Interface 'WP_Typography\\Settings\\Locale_Settings' not found in wp-content/plugins/wp-typography/includes/wp-typography/settings/class-abstract-locale-settings.php:41
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: A description for screenshot #5 is missing in wp-typography/assets to your readme.txt
wp-typography/wp-typography.php Passed 13 tests
This is the main PHP file of "wp-Typography" version 5.9.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
Improve your web typography with: hyphenation, space control, intelligent character replacement, and CSS hooks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin468,086 lines of code in 246 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 79 | 0 | 0 | 456,277 |
PHP | 142 | 916 | 12,311 | 10,032 |
Markdown | 10 | 581 | 0 | 1,527 |
JavaScript | 10 | 49 | 285 | 188 |
CSS | 5 | 15 | 20 | 62 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 13 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 20 | 17.24% |
▷ Concrete classes | 96 | 82.76% |
▷ Final classes | 4 | 4.17% |
Methods | 749 | |
▷ Static methods | 96 | 12.82% |
▷ Public methods | 569 | 75.97% |
▷ Protected methods | 143 | 19.09% |
▷ Private methods | 37 | 4.94% |
Functions | 28 | |
▷ Named functions | 1 | 3.57% |
▷ Anonymous functions | 27 | 96.43% |
Constants | 429 | |
▷ Global constants | 2 | 0.47% |
▷ Class constants | 427 | 99.53% |
▷ Public constants | 399 | 93.44% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin