84% issuem

Code Review | IssueM

WordPress plugin IssueM scored84%from 54 tests.

About plugin

  • Plugin page: issuem
  • Plugin version: 2.8.9
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.1
  • WordPress version: 6.3.1
  • First release: Jun 16, 2013
  • Latest release: Nov 7, 2022
  • Number of updates: 62
  • Update frequency: every 55.7 days
  • Top authors: layotte (50%)zeen101 (41.94%)endocreative (11.29%)

Code review

54 tests

User reviews

12 reviews

Install metrics

900+ active /47,534 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.71MB] [CPU: ▲4.83ms] Passed 4 tests

Server-side resources used by IssueM
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.19 ▲0.7243.15 ▲6.50
Dashboard /wp-admin4.03 ▲0.7247.46 ▼1.58
Posts /wp-admin/edit.php4.08 ▲0.7253.83 ▲10.07
Add New Post /wp-admin/post-new.php6.77 ▲0.8896.55 ▲4.31
Media Library /wp-admin/upload.php3.89 ▲0.6545.54 ▲12.27

Server storage [IO: ▲0.40MB] [DB: ▲0.01MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 10 new options
New WordPress options
issuem
widget_theysaidso_widget
widget_issuem_active_issue
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_issuem_article_list
widget_recent-posts
last_zeen101_dot_com_rss_item

Browser metrics Passed 4 tests

This is an overview of browser requirements for IssueM
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,930 ▲16913.64 ▼1.008.36 ▲6.7538.44 ▲0.59
Dashboard /wp-admin2,248 ▲705.59 ▼0.0582.73 ▼30.8782.57 ▲38.08
Posts /wp-admin/edit.php2,153 ▲532.05 ▲0.0941.82 ▲2.0736.16 ▲2.92
Add New Post /wp-admin/post-new.php1,725 ▲18821.74 ▲3.47738.50 ▲117.4655.86 ▼5.92
Media Library /wp-admin/upload.php1,453 ▲534.16 ▼0.12100.82 ▲0.9976.04 ▲33.63

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • The uninstall procedure has failed, leaving 10 options in the database
    • widget_recent-comments
    • issuem
    • widget_issuem_article_list
    • widget_issuem_active_issue
    • last_zeen101_dot_com_rss_item
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
The following issues need your attention
  • 13× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/issuem/feed-templates/feed-rss.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-feeds.php:26
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-functions.php:252
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-widgets.php:25
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/issuem/issuem.php:32
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-taxonomy.php:52
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-post-type.php:76
    • > PHP Fatal error
      Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/issuem/feed-templates/feed-rss2.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-cats-taxonomy.php:56
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/issuem/issuem-shortcodes.php:220

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
You can take inspiration from this readme.txt

issuem/issuem.php Passed 13 tests

This is the main PHP file of "IssueM" version 2.8.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
73 characters long description:
A feature rich magazine and newspaper issue manager plugin for WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected5,296 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code
PHP151,2028673,218
JavaScript92082001,057
PO File2304364677
CSS36728325
SVG10019

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity25.00
▷ Minimum class complexity2.00
▷ Maximum class complexity85.00
Average method complexity4.35
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods43
▷ Static methods00.00%
▷ Public methods43100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions59
▷ Named functions59100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/issuem-64x64.png6.46KB2.54KB▼ 60.71%
images/zeen-logo-wh.png5.54KB3.50KB▼ 36.84%
images/zeen-logo-gr.png5.95KB3.50KB▼ 41.12%
images/zeen-logo.png10.43KB3.51KB▼ 66.31%
images/oie_P7fhR5VjrKGg1.png0.87KB0.74KB▼ 15.08%