Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.96ms] 75% from 4 tests
Analyzing server-side resources used by Platform.ly Official
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 576.39ms on /wp-admin/admin.php?page=ply_optins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.57 ▲4.40 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.68 ▲2.32 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.54 ▼3.57 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.66 ▼6.98 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.39 ▲7.11 |
Events /wp-admin/admin.php?page=ply_events | 3.28 | 657.55 |
Pages /wp-admin/admin.php?page=ply_pages | 3.31 | 619.95 |
Settings /wp-admin/admin.php?page=ply | 3.30 | 579.07 |
Optin Forms /wp-admin/admin.php?page=ply_optins | 3.35 | 576.39 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 49 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_ply_optins |
wp_ply_project_code |
wp_ply_pages |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
ply_plugin_cid |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
ply_plugin_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Platform.ly Official
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲91 | 14.24 ▼0.03 | 2.04 ▲0.20 | 44.38 ▼3.55 |
Dashboard /wp-admin | 2,230 ▲53 | 5.57 ▼0.08 | 85.53 ▼3.35 | 72.24 ▲31.38 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.30 ▲0.27 | 34.14 ▼6.79 | 36.84 ▼5.31 |
Add New Post /wp-admin/post-new.php | 1,801 ▲275 | 22.99 ▼0.19 | 694.75 ▲72.15 | 28.69 ▼37.43 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.20 ▲0.02 | 97.61 ▼2.56 | 83.84 ▲39.17 |
Events /wp-admin/admin.php?page=ply_events | 705 | 1.51 | 7.58 | 17.35 |
Pages /wp-admin/admin.php?page=ply_pages | 705 | 1.12 | 6.32 | 15.04 |
Settings /wp-admin/admin.php?page=ply | 739 | 1.51 | 6.53 | 25.85 |
Optin Forms /wp-admin/admin.php?page=ply_optins | 705 | 1.12 | 6.35 | 17.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- ply_plugin_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: tracking links, ecommerce, optin forms, custom pages, crm...
platformly/platformly.php 92% from 13 tests
The primary PHP file in "Platform.ly Official" version 1.12 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 248 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected10,046 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 46 | 34 | 7,039 |
PHP | 8 | 181 | 80 | 1,995 |
JavaScript | 14 | 104 | 267 | 1,012 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 66 | |
▷ Named functions | 65 | 98.48% |
▷ Anonymous functions | 1 | 1.52% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/bottom-right-position.png | 0.64KB | 0.20KB | ▼ 69.22% |
img/statistics.png | 1.23KB | 0.32KB | ▼ 74.23% |
img/logo.png | 1.17KB | 0.26KB | ▼ 77.30% |
img/settings.png | 3.16KB | 0.71KB | ▼ 77.44% |
img/home-page-type.png | 0.66KB | 0.21KB | ▼ 68.69% |