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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.77MB] [CPU: ▲14.05ms] Passed 4 tests
Server-side resources used by Typer Core
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.47 ▲5.01 | 57.21 ▲14.08 |
Dashboard /wp-admin | 7.12 ▲3.82 | 68.82 ▲16.96 |
Posts /wp-admin/edit.php | 7.15 ▲3.80 | 73.68 ▲27.80 |
Add New Post /wp-admin/post-new.php | 9.61 ▲3.72 | 98.05 ▲3.10 |
Media Library /wp-admin/upload.php | 6.96 ▲3.74 | 54.73 ▲22.04 |
Server storage [IO: ▲13.15MB] [DB: ▲0.24MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 877 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Typer Core
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲166 | 18.52 ▲3.89 | 1.66 ▼0.40 | 40.70 ▼3.06 |
Dashboard /wp-admin | 2,361 ▲181 | 9.02 ▲3.42 | 189.39 ▲102.36 | 38.71 ▼3.69 |
Posts /wp-admin/edit.php | 2,301 ▲198 | 6.21 ▲4.19 | 93.45 ▲49.01 | 34.49 ▼7.25 |
Add New Post /wp-admin/post-new.php | 1,589 ▲54 | 25.24 ▲7.11 | 779.84 ▲97.79 | 66.71 ▼2.13 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 6.70 ▲2.52 | 114.49 ▲15.08 | 41.22 ▼3.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.26MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/code.php
- > /wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/color.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/select.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/generic.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/textarea.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/number.php
- > /wp-content/plugins/typer-core/inc/customizr/controls/views/radio.php
- 280× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Term_Meta_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/typer-core/inc/customizr/field/class-kirki-field-sortable.php:15
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Textarea_Field' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/core/Field/Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/core/Field/Predefined_Options_Field.php:12
- > PHP Fatal error
Uncaught Error: Class 'Kirki_Field_Radio' not found in wp-content/plugins/typer-core/inc/customizr/field/class-kirki-field-radio-buttonset.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/typer-core/inc/carbon-fields/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Level_Condition.php:10
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: elementor theme, typer theme, blog theme
typer-core/loader.php 92% from 13 tests
The main file in "Typer Core" v. 1.9.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("typer-core.php" instead of "loader.php")
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 plugin71,208 lines of code in 806 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 288 | 11,304 | 14,296 | 32,144 |
PHP | 407 | 5,552 | 15,475 | 21,844 |
JSON | 8 | 0 | 0 | 8,935 |
CSS | 15 | 330 | 1,164 | 3,615 |
PO File | 28 | 898 | 1,111 | 2,411 |
Sass | 50 | 368 | 3 | 1,894 |
SVG | 2 | 0 | 0 | 139 |
YAML | 4 | 37 | 0 | 138 |
Markdown | 3 | 24 | 0 | 68 |
XML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 315.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 32 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 372 | |
▷ Abstract classes | 13 | 3.49% |
▷ Concrete classes | 359 | 96.51% |
▷ Final classes | 13 | 3.62% |
Methods | 1,633 | |
▷ Static methods | 214 | 13.10% |
▷ Public methods | 1,197 | 73.30% |
▷ Protected methods | 390 | 23.88% |
▷ Private methods | 46 | 2.82% |
Functions | 146 | |
▷ Named functions | 34 | 23.29% |
▷ Anonymous functions | 112 | 76.71% |
Constants | 46 | |
▷ Global constants | 19 | 41.30% |
▷ Class constants | 27 | 58.70% |
▷ Public constants | 27 | 100.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
8 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 |
inc/customizr/assets/images/1c.png | 0.77KB | 0.15KB | ▼ 80.03% |
inc/customizr/assets/images/kirki-bottom.png | 1.51KB | 1.09KB | ▼ 27.89% |
inc/customizr/assets/images/jquery.fs.stepper-arrows.png | 0.30KB | 0.18KB | ▼ 40.52% |
inc/customizr/assets/images/3cm.png | 0.91KB | 0.25KB | ▼ 72.00% |
inc/customizr/assets/images/3cr.png | 0.91KB | 0.32KB | ▼ 64.81% |