Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼0.15ms] Passed 4 tests
A check of server-side resources used by Fonts Manager | Custom Fonts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 44.55 ▼6.45 |
Dashboard /wp-admin | 3.50 ▲0.19 | 56.58 ▲5.51 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 53.72 ▲3.94 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 95.49 ▼3.45 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 41.31 ▲5.36 |
Upload Fonts /wp-admin/admin.php?page=fmcf-upload-fonts-page | 3.39 | 39.28 |
Color Settings /wp-admin/admin.php?page=fmcf-set-color | 3.74 | 40.43 |
Local Fonts /wp-admin/admin.php?page=fmcf-predefined-fonts | 3.39 | 40.47 |
Assign Fonts /wp-admin/admin.php?page=fmcf-assign-fonts | 3.48 | 42.72 |
Google Fonts /wp-admin/admin.php?page=fmcf-google-fonts | 6.47 | 46.89 |
Server storage [IO: ▲5.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 65 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_fmcf_fonts_assign |
wp_fmcf_fonts_list |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Fonts Manager | Custom Fonts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.35 ▼0.07 | 1.59 ▼0.19 | 43.51 ▲1.28 |
Dashboard /wp-admin | 2,239 ▲62 | 5.56 ▲0.03 | 96.32 ▲5.47 | 72.37 ▲27.69 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.02 ▲0.03 | 35.24 ▼7.79 | 31.04 ▼7.39 |
Add New Post /wp-admin/post-new.php | 1,573 ▲47 | 23.19 ▼0.26 | 719.47 ▲57.21 | 59.88 ▲7.05 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.26 ▲0.03 | 102.18 ▲4.96 | 64.99 ▲20.56 |
Upload Fonts /wp-admin/admin.php?page=fmcf-upload-fonts-page | 967 | 2.15 | 27.68 | 80.60 |
Color Settings /wp-admin/admin.php?page=fmcf-set-color | 1,764 | 1.67 | 25.92 | 42.28 |
Local Fonts /wp-admin/admin.php?page=fmcf-predefined-fonts | 1,020 | 1.99 | 23.80 | 36.49 |
Assign Fonts /wp-admin/admin.php?page=fmcf-assign-fonts | 1,200 | 2.04 | 25.96 | 43.27 |
Google Fonts /wp-admin/admin.php?page=fmcf-google-fonts | 4,522 | 2.03 | 26.02 | 33.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_fmcf_fonts_assign
- wp_fmcf_fonts_list
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
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)
There were no browser issues 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
9 plugin tags: custom fonts, change fonts, web font, google fonts, change font...
fonts-manager-custom-fonts/fonts-manager-custom-fonts.php 92% from 13 tests
The main PHP file in "Fonts Manager | Custom Fonts" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 221 characters long)
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
Success! There were no dangerous files found in this plugin16,572 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 14,295 |
PHP | 10 | 344 | 11 | 1,890 |
CSS | 1 | 0 | 0 | 386 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 21.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 49 | |
▷ Named functions | 48 | 97.96% |
▷ Anonymous functions | 1 | 2.04% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.23MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assests/images/icon.png | 0.35KB | 0.29KB | ▼ 18.18% |
assests/font/brunoace.png | 10.71KB | 3.66KB | ▼ 65.82% |
assests/font/opensans.png | 4.76KB | 2.50KB | ▼ 47.35% |
assests/font/poppins.png | 4.60KB | 2.43KB | ▼ 47.26% |
assests/font/kablammo.png | 24.27KB | 10.57KB | ▼ 56.44% |