Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.38ms] Passed 4 tests
Server-side resources used by Post Tiles
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.75 ▼4.04 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.15 ▼7.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.23 ▲4.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.69 ▼5.10 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.44 ▼1.26 |
Post Tiles /wp-admin/options-general.php?page=post-tiles-identifier | 3.22 | 38.06 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Tiles
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.25 ▼1.41 | 1.70 ▼0.35 | 41.35 ▼7.67 |
Dashboard /wp-admin | 2,210 ▲22 | 5.81 ▲0.93 | 97.43 ▼19.74 | 41.44 ▼2.42 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 32.50 ▼2.83 | 35.61 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.12 ▼0.26 | 622.14 ▼45.29 | 56.81 ▼9.53 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.26 ▲0.12 | 98.86 ▼18.52 | 43.52 ▼4.08 |
Post Tiles /wp-admin/options-general.php?page=post-tiles-identifier | 1,380 | 2.28 | 30.53 | 91.04 |
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
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/post-tiles/post-tiles.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=post-tiles-identifier
- > Network (severe)
http://www.postslides.com/wp-content/uploads/2014/11/slides-compressed.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=post-tiles-identifier
- > Network (severe)
http://www.postslides.com/wp-content/uploads/2014/11/slide-hover.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Full Width Tiles), #2 (Medium Width Tiles), #3 (Mobile Width Titles), #4 (Color and layout customization), #5 (Additional customization)
post-tiles/post-tiles.php 85% from 13 tests
Analyzing the main PHP file in "Post Tiles" version 1.4.6
Please make the necessary changes and fix the following:
- Git Repository: Please remove the Git repository from this plugin
- Description: Please keep the plugin description shorter than 140 characters (currently 204 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
No dangerous file extensions were detected949 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 84 | 126 | 508 |
CSS | 1 | 21 | 10 | 330 |
JavaScript | 2 | 23 | 49 | 111 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.81MB with 0.57MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plus@2x.png | 3.57KB | 1.04KB | ▼ 70.72% |
screenshot-4.png | 120.82KB | 37.94KB | ▼ 68.60% |
screenshot-2.png | 276.48KB | 93.22KB | ▼ 66.28% |
plus.png | 3.12KB | 0.68KB | ▼ 78.29% |
screenshot-3.png | 145.36KB | 50.15KB | ▼ 65.50% |