84% ideapush

Code Review | IdeaPush

WordPress plugin IdeaPush scored84%from 54 tests.

About plugin

  • Plugin page: ideapush
  • Plugin version: 8.53
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 27, 2018
  • Latest release: Nov 3, 2023
  • Number of updates: 161
  • Update frequency: every 12.9 days
  • Top authors: northernbeacheswebsites (100%)

Code review

54 tests

User reviews

29 reviews

Install metrics

1,000+ active /25,541 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.20MB] [CPU: ▲7.48ms] Passed 4 tests

Analyzing server-side resources used by IdeaPush
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1942.51 ▲2.86
Dashboard /wp-admin3.52 ▲0.1855.47 ▼5.25
Posts /wp-admin/edit.php3.64 ▲0.2889.20 ▲40.49
Add New Post /wp-admin/post-new.php6.12 ▲0.24104.76 ▲19.82
Media Library /wp-admin/upload.php3.44 ▲0.2146.05 ▲12.47
Statuses /wp-admin/edit-tags.php?taxonomy=status&post_type=idea3.4546.20
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=idea3.4343.51

Server storage [IO: ▲2.49MB] [DB: ▲0.80MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 58 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
status_children
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for IdeaPush
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,850 ▲10414.15 ▼0.201.81 ▲0.1942.54 ▲2.27
Dashboard /wp-admin2,253 ▲835.61 ▼0.0691.94 ▼11.1141.63 ▲4.69
Posts /wp-admin/edit.php2,159 ▲562.05 ▲0.0941.28 ▲3.7037.73 ▲3.22
Add New Post /wp-admin/post-new.php1,558 ▲3023.29 ▲0.02659.41 ▲40.6557.23 ▲9.48
Media Library /wp-admin/upload.php1,461 ▲614.19 ▲0.0199.51 ▼3.2044.20 ▲3.06
Statuses /wp-admin/edit-tags.php?taxonomy=status&post_type=idea1,7542.2928.5934.97
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=idea1,3042.2827.1028.79

Uninstaller [IO: ▲0.00MB] [DB: ▲0.80MB] 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
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • status_children
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/helper-functions.php:249
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/user-profile-meta.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ideapush/inc/templates/ip-tag.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/shortcode/idea-list-items.php:567
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/status-change.php:55
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/update-user.php:91
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ideapush/inc/functions/single-idea.php:124
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/create-idea.php:430
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/inc/functions/create-user.php:79
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ideapush/ideapush.php:99

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Contributors: Plugin contributors not specified
The official readme.txt might help

ideapush/ideapush.php Passed 13 tests

The main PHP file in "IdeaPush" ver. 8.53 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
IdeaPush is a feature request management system for WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin18,069 lines of code in 41 files:
LanguageFilesBlank linesComment linesLines of code
PHP193,7419765,864
PO File31,1051,2475,450
SVG5132,951
CSS5533582,275
JavaScript91,2973851,529

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.30
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%
Functions203
▷ Named functions20199.01%
▷ Anonymous functions20.99%
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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
inc/images/default-image.png7.41KB3.90KB▼ 47.34%
inc/images/default-idea-image.png4.36KB2.34KB▼ 46.34%