Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼137.65ms] Passed 4 tests
Server-side resources used by SVG Logo and Text Effects
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.17 ▲0.33 | 39.65 ▲4.78 |
Dashboard /wp-admin | 3.39 ▲0.34 | 50.62 ▲3.12 |
Posts /wp-admin/edit.php | 3.50 ▲0.39 | 48.13 ▲1.15 |
Add New Post /wp-admin/post-new.php | 5.75 ▲0.32 | 94.91 ▼551.01 |
Media Library /wp-admin/upload.php | 3.33 ▲0.33 | 29.98 ▼3.84 |
SVG Logo and Text Effects /wp-admin/options-general.php?page=slate_settings_page | 3.30 | 33.04 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 2 new options
New WordPress options |
---|
slate-opt-plugin-version |
slate-opt-cache |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SVG Logo and Text Effects
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,845 ▲1,249 | 23.11 ▲7.48 | 44.83 ▲32.60 | 48.25 ▼5.83 |
Dashboard /wp-admin | 3,955 ▲1,021 | 13.63 ▲7.68 | 339.82 ▲190.71 | 154.33 ▲43.29 |
Posts /wp-admin/edit.php | 2,749 ▲10 | 2.73 ▲0.02 | 66.89 ▲7.95 | 84.25 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,681 ▲66 | 18.84 ▼3.03 | 403.35 ▲108.89 | 106.04 ▲1.18 |
Media Library /wp-admin/upload.php | 1,820 ▲13 | 5.09 ▲0.04 | 148.67 ▼13.58 | 118.43 ▲0.74 |
SVG Logo and Text Effects /wp-admin/options-general.php?page=slate_settings_page | 1,163 | 2.37 | 63.01 | 82.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 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 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
Please fix the following items
- 18× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/slate/resources/fill/gradient_radial.php
- > /wp-content/plugins/slate/resources/shape/shadow.php
- > /wp-content/plugins/slate/resources/fill/stripes.php
- > /wp-content/plugins/slate/resources/fill/color.php
- > /wp-content/plugins/slate/resources/fill/gradient_linear.php
- > /wp-content/plugins/slate/popups/slate-shapes.php
- > /wp-content/plugins/slate/resources/shape/plain.php
- > /wp-content/plugins/slate/resources/fill/dots.php
- > /wp-content/plugins/slate/resources/filter/shadow.php
- > /wp-content/plugins/slate/popups/slate-raster.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: artistic text, filters, effects, svg
slate/slate.php Passed 13 tests
This is the main PHP file of "SVG Logo and Text Effects" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
Insert text with visually stunning SVG effects into your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,332 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 364 | 295 | 1,205 |
JavaScript | 6 | 34 | 34 | 114 |
CSS | 4 | 1 | 2 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 144.00 |
▷ Minimum class complexity | 144.00 |
▷ Maximum class complexity | 144.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 42 | |
▷ Static methods | 13 | 30.95% |
▷ Public methods | 31 | 73.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 26.19% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/sprites/logo-114x154.png | 3.96KB | 4.20KB | 0.00% |
assets/sprites/logo-32x32.png | 0.76KB | 1.07KB | 0.00% |