Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.29ms] Passed 4 tests
Server-side resources used by Font Pairing Preview For Landing Pages
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.60 ▲2.30 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.25 ▼2.41 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.34 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.24 ▼20.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.09 ▲2.84 |
Font Pairing Preview /wp-admin/options-general.php?page=wp_fpp_plugin | 3.28 | 30.83 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Font Pairing Preview For Landing Pages
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▼0.03 | 2.24 ▲0.63 | 44.22 ▲1.78 |
Dashboard /wp-admin | 2,199 ▲22 | 5.58 ▲0.01 | 88.46 ▼2.40 | 40.36 ▼0.12 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 38.38 ▼4.40 | 38.33 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,541 ▲5 | 23.37 ▲4.96 | 676.62 ▲46.52 | 52.20 ▼14.26 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.04 | 100.47 ▼11.27 | 46.08 ▲0.34 |
Font Pairing Preview /wp-admin/options-general.php?page=wp_fpp_plugin | 978 | 2.10 | 30.92 | 37.18 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_fpp_plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp_fpp_plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-font-pairing-preview/wp-font-pairing-preview.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_fpp_plugin
- > Network (severe)
http://fonts.googleapis.com/css?family= - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: typeface pairings, landing page creation tools, font pairing chart, font pairing, wp landing pages...
wp-font-pairing-preview/wp-font-pairing-preview.php Passed 13 tests
"Font Pairing Preview For Landing Pages" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
100 characters long description:
This plugin allows you to preview any google web font family pairings from your administration page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin7,634 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 7,319 |
PHP | 2 | 34 | 36 | 282 |
CSS | 2 | 5 | 6 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin