Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼9.34ms] Passed 4 tests
Analyzing server-side resources used by Text Effect Archive Design
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.54 ▼2.85 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.12 ▼6.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.71 ▼5.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.17 ▼23.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.80 ▼0.39 |
Text Effect Archive Design /wp-admin/options-general.php?page=text_effect_archive_design | 3.20 | 27.52 |
Server storage [IO: ▲3.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Text Effect Archive Design
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.04 | 1.62 ▲0.07 | 42.66 ▲3.77 |
Dashboard /wp-admin | 2,207 ▲18 | 5.83 ▲0.92 | 96.35 ▼13.39 | 39.42 ▼4.68 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▲0.00 | 40.36 ▼0.98 | 37.12 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,517 ▼18 | 17.86 ▼5.51 | 684.82 ▲15.48 | 57.40 ▲9.53 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.02 | 99.03 ▲0.62 | 43.85 ▼2.12 |
Text Effect Archive Design /wp-admin/options-general.php?page=text_effect_archive_design | 809 | 2.02 | 24.60 | 28.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/text-effect-archive-design/templates/rotate_text.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/text-effect-archive-design/templates/journal_title.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/text-effect-archive-design/text_effect_archive_design.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/text-effect-archive-design/templates/vintage_title.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/text-effect-archive-design/templates/shadow_text.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: font, effect, archive effect, shortcode, css...
text-effect-archive-design/text_effect_archive_design.php 92% from 13 tests
"Text Effect Archive Design" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 ("text-effect-archive-design.php" instead of "text_effect_archive_design.php")
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
Everything looks great! No dangerous files found in this plugin918 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 22 | 4 | 768 |
PHP | 5 | 5 | 46 | 150 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.31MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/template2.png | 8.09KB | 7.35KB | ▼ 9.22% |
img/01.png | 279.54KB | 118.89KB | ▼ 57.47% |
admin/img/template3.png | 3.57KB | 2.69KB | ▼ 24.61% |
admin/img/template7.png | 22.00KB | 21.39KB | ▼ 2.81% |
admin/img/template1.png | 5.96KB | 4.97KB | ▼ 16.73% |