Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.87ms] Passed 4 tests
Server-side resources used by Foundation Columns
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 49.80 ▲5.47 |
Dashboard /wp-admin | 3.35 ▲0.01 | 51.06 ▼21.20 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.70 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.84 ▼14.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.73 ▲1.27 |
Server storage [IO: ▲0.24MB] [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: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Foundation Columns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.84 ▲0.67 | 1.95 ▲0.07 | 41.94 ▼4.00 |
Dashboard /wp-admin | 2,224 ▲21 | 4.84 ▼1.04 | 104.46 ▼12.81 | 41.28 ▼4.36 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.04 ▲0.02 | 34.47 ▼2.70 | 36.90 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 17.50 ▼5.96 | 684.87 ▲23.59 | 59.07 ▲6.64 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.34 ▲0.10 | 98.92 ▼12.95 | 43.24 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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 0% 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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/foundation-columns/foundation-columns.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: mce_locale in wp-content/plugins/foundation-columns/localization.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/foundation-columns/localization.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Zurb icon indicates you are ready to use Foundation Columns.), #2 (The result after added columns.)
foundation-columns/foundation-columns.php Passed 13 tests
The entry point to "Foundation Columns" version 0.8 is a PHP file that has certain tags in its header comment area
64 characters long description:
Use the Zurb Foundation Grid System in WordPress posts and pages
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected495 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 48 | 6 | 247 |
PHP | 2 | 78 | 182 | 208 |
PO File | 1 | 12 | 12 | 40 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 146.52KB | 45.59KB | ▼ 68.89% |
assets/img/foundation_columns.png | 7.92KB | 3.96KB | ▼ 49.96% |
assets/img/foundation_columns_20x20.png | 3.40KB | 1.19KB | ▼ 65.04% |
screenshot-2.png | 58.66KB | 16.03KB | ▼ 72.67% |