89% platformly

Code Review | Platform.ly Official

WordPress plugin Platform.ly Official scored89%from 54 tests.

About plugin

  • Plugin page: platformly
  • Plugin version: 1.12
  • PHP compatiblity: 5.5.9+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.9
  • WordPress version: 6.3.1
  • First release: Oct 11, 2018
  • Latest release: Mar 16, 2022
  • Number of updates: 13
  • Update frequency: every 96.4 days
  • Top authors: platformlycom (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /2,125 total downloads

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)
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0543.57 ▲4.40
Dashboard /wp-admin3.35 ▲0.0450.68 ▲2.32
Posts /wp-admin/edit.php3.40 ▲0.0448.54 ▼3.57
Add New Post /wp-admin/post-new.php5.94 ▲0.0688.66 ▼6.98
Media Library /wp-admin/upload.php3.27 ▲0.0441.39 ▲7.11
Events /wp-admin/admin.php?page=ply_events3.28657.55
Pages /wp-admin/admin.php?page=ply_pages3.31619.95
Settings /wp-admin/admin.php?page=ply3.30579.07
Optin Forms /wp-admin/admin.php?page=ply_optins3.35576.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲9114.24 ▼0.032.04 ▲0.2044.38 ▼3.55
Dashboard /wp-admin2,230 ▲535.57 ▼0.0885.53 ▼3.3572.24 ▲31.38
Posts /wp-admin/edit.php2,157 ▲572.30 ▲0.2734.14 ▼6.7936.84 ▼5.31
Add New Post /wp-admin/post-new.php1,801 ▲27522.99 ▼0.19694.75 ▲72.1528.69 ▼37.43
Media Library /wp-admin/upload.php1,441 ▲414.20 ▲0.0297.61 ▼2.5683.84 ▲39.17
Events /wp-admin/admin.php?page=ply_events7051.517.5817.35
Pages /wp-admin/admin.php?page=ply_pages7051.126.3215.04
Settings /wp-admin/admin.php?page=ply7391.516.5325.85
Optin Forms /wp-admin/admin.php?page=ply_optins7051.126.3517.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:
LanguageFilesBlank linesComment linesLines of code
CSS646347,039
PHP8181801,995
JavaScript141042671,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 code0.48
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions66
▷ Named functions6598.48%
▷ Anonymous functions11.52%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
img/bottom-right-position.png0.64KB0.20KB▼ 69.22%
img/statistics.png1.23KB0.32KB▼ 74.23%
img/logo.png1.17KB0.26KB▼ 77.30%
img/settings.png3.16KB0.71KB▼ 77.44%
img/home-page-type.png0.66KB0.21KB▼ 68.69%