89% iq-posting-lite

Code Review | iQ Posting Lite

WordPress plugin iQ Posting Lite scored89%from 54 tests.

About plugin

  • Plugin page: iq-posting-lite
  • Plugin version: 1.1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.3.1
  • WordPress version: 6.3.1
  • First release: May 7, 2019
  • Latest release: Dec 17, 2019
  • Number of updates: 40
  • Update frequency: every 5.7 days
  • Top authors: Andrew Anderson (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /854 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.17MB] [CPU: ▼8.52ms] Passed 4 tests

An overview of server-side resources used by iQ Posting Lite
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.64 ▼4.60
Dashboard /wp-admin3.30 ▼0.0042.47 ▼5.50
Posts /wp-admin/edit.php3.38 ▲0.0347.95 ▲0.98
Add New Post /wp-admin/post-new.php5.16 ▼0.7266.78 ▼24.96
Media Library /wp-admin/upload.php3.25 ▲0.0338.18 ▲5.11

Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
iq_posting_notice
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for iQ Posting Lite
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,984 ▲24913.30 ▼1.091.77 ▼0.0838.27 ▼4.54
Dashboard /wp-admin2,368 ▲1835.88 ▼0.05100.00 ▼13.9883.82 ▲40.11
Posts /wp-admin/edit.php2,130 ▲412.04 ▲0.0754.35 ▲16.3544.62 ▲9.84
Add New Post /wp-admin/post-new.php6,382 ▲4,86219.22 ▼3.89862.92 ▲186.5370.83 ▲12.01
Media Library /wp-admin/upload.php1,424 ▲364.27 ▲0.10101.35 ▲0.9041.36 ▼3.63

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • iq_posting_notice
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === iq-posting-lite === )
  • Contributors: Plugin contributors not specified
Please take inspiration from this readme.txt

iq-posting-lite/iq-posting-lite.php Passed 13 tests

Analyzing the main PHP file in "iQ Posting Lite" version 1.1.1
121 characters long description:
Create a social media funnel to your site in minutes. The Free Licensed version adds styling settings plus other features

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,267 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP2155130744
CSS3440275
JavaScript2451188
Markdown137060

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity46.50
▷ Minimum class complexity28.00
▷ Maximum class complexity65.00
Average method complexity3.27
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods40
▷ Static methods1332.50%
▷ Public methods3177.50%
▷ Protected methods00.00%
▷ Private methods922.50%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
iqlogo.png13.33KB7.44KB▼ 44.18%