Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼30.73ms] Passed 4 tests
This is a short check of server-side resources used by Smart Quotes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.31 ▲0.95 |
Dashboard /wp-admin | 3.05 ▼0.25 | 28.16 ▼23.83 |
Posts /wp-admin/edit.php | 3.05 ▼0.30 | 31.14 ▼19.80 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.83 | 27.28 ▼72.46 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 27.08 ▼6.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/smart-quotes/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Smart Quotes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.33 ▼1.25 | 2.44 ▲0.63 | 44.99 ▲3.00 |
Dashboard /wp-admin | 2,221 ▲21 | 4.89 ▲0.02 | 111.87 ▲4.82 | 39.30 ▼4.63 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.02 | 40.30 ▲0.48 | 36.62 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,546 ▲15 | 23.30 ▲0.22 | 673.39 ▲73.41 | 61.16 ▲16.49 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▲0.00 | 100.88 ▲1.36 | 43.94 ▲1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tfnab_smart_quotes::admin_init() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/smart-quotes/smart-quotes.php:67
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: wptexturize, quotes, curly, smart quotes, curly quotes
smart-quotes/smart-quotes.php 92% from 13 tests
Analyzing the main PHP file in "Smart Quotes" version 0.4
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 835 characters long)
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
There were no executable files found in this plugin172 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 62 | 105 |
PO File | 1 | 16 | 19 | 43 |
CSS | 1 | 3 | 0 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 3 | |
▷ Named functions | 3 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin