Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.45ms] Passed 4 tests
This is a short check of server-side resources used by TextOptimizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.64 ▼3.10 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.12 ▼3.72 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.66 ▲3.17 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.63 ▼7.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.00 ▼3.23 |
Server storage [IO: ▲8.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for TextOptimizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲204 | 13.39 ▼0.96 | 1.77 ▼0.17 | 42.64 ▼2.09 |
Dashboard /wp-admin | 2,339 ▲154 | 5.12 ▲0.20 | 106.06 ▲5.89 | 49.50 ▲6.75 |
Posts /wp-admin/edit.php | 2,207 ▲121 | 2.24 ▲0.19 | 41.33 ▲5.60 | 51.90 ▲20.17 |
Add New Post /wp-admin/post-new.php | 10,626 ▲9,093 | 22.45 ▼0.97 | 966.71 ▲291.65 | 99.68 ▲38.79 |
Media Library /wp-admin/upload.php | 1,546 ▲158 | 4.38 ▲0.22 | 134.74 ▲31.56 | 53.53 ▲10.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/textoptimizer/textoptimizer-meta.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/textoptimizer/textoptimizer.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (34 tag instead of maximum 10)
textoptimizer/textoptimizer.php Passed 13 tests
The main file in "TextOptimizer" v. 4.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
Optimize your text to rank higher in search engine results.
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
No dangerous file extensions were detected12,966 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
PHP | 3 | 27 | 43 | 1,767 |
JavaScript | 4 | 176 | 1,228 | 1,324 |
CSS | 4 | 118 | 29 | 576 |
PHP code Passed 2 tests
A brief analysis 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.02 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ 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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
39 PNG files occupy 0.42MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i_extension/loading_1.png | 55.47KB | 18.73KB | ▼ 66.24% |
i_extension/load-text_icon.png | 1.13KB | 0.95KB | ▼ 16.25% |
i_extension/lightbulb_orange.png | 1.99KB | 1.39KB | ▼ 29.81% |
i_extension/signin-icon.png | 1.92KB | 1.36KB | ▼ 29.37% |
i_extension/circles_icon.png | 34.01KB | 13.76KB | ▼ 59.54% |