Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.26ms] Passed 4 tests
Analyzing server-side resources used by SMNTCS Adobe Typekit Fonts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.08 ▲0.23 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.89 ▼0.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.33 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.05 ▼15.82 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 31.75 ▼4.23 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by SMNTCS Adobe Typekit Fonts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▲0.16 | 1.65 ▲0.10 | 44.71 ▲3.83 |
Dashboard /wp-admin | 2,195 ▲15 | 5.52 ▼0.13 | 82.61 ▼4.15 | 35.83 ▼2.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.13 ▲0.13 | 34.17 ▼1.07 | 32.69 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.14 ▲0.17 | 686.05 ▼33.00 | 54.77 ▼1.72 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▼0.02 | 95.98 ▼7.53 | 42.14 ▼3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #2 (Open `Appearance` » `Customize`.), #3 (Provide your Adobe Typekit Fonts code.), #4 (Customize the CSS according to your needs.)
smntcs-adobe-typekit-fonts/smntcs-adobe-typekit-fonts.php Passed 13 tests
The main PHP file in "SMNTCS Adobe Typekit Fonts" ver. 1.8 adds more information about the plugin and also serves as the entry point for this plugin
48 characters long description:
Adds Adobe Typekit Fonts to your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin7,224 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,050 |
XML | 2 | 16 | 14 | 68 |
PHP | 1 | 13 | 44 | 62 |
Markdown | 1 | 23 | 0 | 35 |
YAML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin