74% wp-conference

Code Review | WP Conference

WordPress plugin WP Conference scored74%from 54 tests.

About plugin

  • Plugin page: wp-conference
  • Plugin version: 1.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.19-4.7.9
  • WordPress version: 6.3.1
  • First release: Aug 21, 2018
  • Latest release: Jul 3, 2023
  • Number of updates: 4
  • Update frequency: every 478.8 days
  • Top authors: ablion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /843 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.76MB] [CPU: ▼32.56ms] Passed 4 tests

This is a short check of server-side resources used by WP Conference
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2143.15 ▲1.38
Dashboard /wp-admin3.18 ▼0.1224.93 ▼25.36
Posts /wp-admin/edit.php3.18 ▼0.1729.08 ▼18.87
Add New Post /wp-admin/post-new.php3.18 ▼2.7024.56 ▼73.55
Media Library /wp-admin/upload.php3.18 ▼0.0523.81 ▼12.44
Speakers /wp-admin/edit.php?post_type=speaker3.1828.17
Sessions /wp-admin/edit.php?post_type=session3.1824.96
Conferences /wp-admin/edit.php?post_type=conference3.1820.28

Server storage [IO: ▲0.98MB] [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: 52 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by WP Conference
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,953 ▲20714.21 ▼0.079.99 ▲8.0853.31 ▲9.15
Dashboard /wp-admin2,247 ▲594.90 ▲0.01104.48 ▼11.5242.47 ▼3.28
Posts /wp-admin/edit.php2,141 ▲552.26 ▲0.2738.80 ▲1.0035.48 ▲2.65
Add New Post /wp-admin/post-new.php1,548 ▲1523.28 ▲0.20682.69 ▼5.6459.86 ▼4.83
Media Library /wp-admin/upload.php1,433 ▲424.27 ▲0.07114.70 ▲9.7949.66 ▲0.58
Speakers /wp-admin/edit.php?post_type=speaker1,1302.2231.5133.03
Sessions /wp-admin/edit.php?post_type=session1,1302.2232.8930.12
Conferences /wp-admin/edit.php?post_type=conference1,1102.2135.3929.80

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
  • 24 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=conference
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected 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)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: seminar plugin, conference plugin, free wordpress plugin

wp-conference/conference.php 85% from 13 tests

The entry point to "WP Conference" version 1.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-conference.php" instead of "conference.php")
  • Description: The description should be shorter than 140 characters (currently 452 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
Everything looks great! No dangerous files found in this plugin7,330 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
CSS61191343,080
PHP8233842,217
XML428641,092
JavaScript3121136653
SVG100288

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Functions38
▷ Named functions38100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
20 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/pinterest.png1.62KB1.61KB▼ 0.84%
images/ui-icons_777620_256x240.png4.57KB4.18KB▼ 8.43%
images/SearchIconcon.png1.28KB0.54KB▼ 58.22%
images/picasa.png2.11KB1.87KB▼ 11.59%
images/facebook.png1.36KB0.88KB▼ 34.94%