Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.38ms] Passed 4 tests
This is a short check of server-side resources used by PullQuote
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.63 ▼4.98 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.09 ▼3.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 51.11 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.18 ▲3.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.68 ▼0.12 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
pullquote_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
PullQuote: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲175 | 13.95 ▼0.42 | 4.87 ▲3.01 | 39.84 ▼2.97 |
Dashboard /wp-admin | 2,203 ▲15 | 5.77 ▼0.27 | 99.85 ▼17.27 | 40.65 ▼1.88 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 1.99 ▼0.04 | 38.65 ▲2.32 | 33.68 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.39 ▼4.64 | 635.85 ▼98.12 | 70.20 ▲4.51 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.29 ▲0.01 | 92.46 ▼10.93 | 42.82 ▼1.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pullquote/functions.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/pullquote/pullquote.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/pullquote/includes/core.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Plugin Pushquotes) image missing
pullquote/pullquote.php Passed 13 tests
This is the main PHP file of "PullQuote" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
59 characters long description:
Create shareable pullquotes with the [pullquote] shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin317 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 21 | 17 | 135 |
PHP | 3 | 25 | 17 | 110 |
CSS | 1 | 7 | 0 | 53 |
Markdown | 1 | 17 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 41.15KB | 11.91KB | ▼ 71.05% |
images/facebook.png | 1.09KB | 0.17KB | ▼ 84.05% |
tinymce/images/pullquote.png | 0.49KB | 0.42KB | ▼ 13.97% |
images/twitter.png | 1.18KB | 0.24KB | ▼ 79.85% |