10% content-curation-tool-by-curatora-io

Code Review | Curatora Stories by Curatora.io

WordPress plugin Curatora Stories by Curatora.io scored10%from 54 tests.

About plugin

  • Plugin page: content-curation-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Sep 25, 2023
  • Latest release: Sep 29, 2023
  • Number of updates: 13
  • Update frequency: every 0.5 days
  • Top authors: mohammedimtiyaz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /35 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • The plugin did not install without errors
    • > User deprecated in wp-includes/functions.php+5453
    Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.

Server metrics [RAM: ▲0.09MB] [CPU: ▲3.43ms] Passed 4 tests

This is a short check of server-side resources used by Curatora Stories by Curatora.io
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0950.50 ▲9.65
Dashboard /wp-admin3.39 ▲0.0559.18 ▼8.04
Posts /wp-admin/edit.php3.49 ▲0.1358.31 ▲3.71
Add New Post /wp-admin/post-new.php6.07 ▲0.18103.09 ▲8.41
Media Library /wp-admin/upload.php3.31 ▲0.0945.97 ▲9.62
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=story3.3146.25
All Stories /wp-admin/edit.php?post_type=story3.3546.60
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=story3.3141.33
Add New Story /wp-admin/post-new.php?post_type=story6.0689.35

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options
category_children
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Curatora Stories by Curatora.io
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲9414.74 ▲0.352.06 ▲0.3444.07 ▲3.01
Dashboard /wp-admin2,244 ▲534.84 ▼1.21105.82 ▼0.0440.39 ▼6.85
Posts /wp-admin/edit.php2,124 ▲351.99 ▼0.0240.96 ▼0.5137.70 ▼1.26
Add New Post /wp-admin/post-new.php1,566 ▲4721.16 ▼1.86683.55 ▲69.0153.36 ▲2.55
Media Library /wp-admin/upload.php1,423 ▲354.29 ▲0.08105.20 ▲1.2949.35 ▲4.55
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=story1,4752.1431.5235.39
All Stories /wp-admin/edit.php?post_type=story1,1431.9930.3532.38
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=story1,3422.1427.3531.73
Add New Story /wp-admin/post-new.php?post_type=story1,54916.94883.3831.38

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • category_children

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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
The SRP test was a success

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, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed: The official readme.txt might help

content-curation-tool-by-curatora-io/curatora-stories.php 85% from 13 tests

"Curatora Stories by Curatora.io" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 333 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("content-curation-tool-by-curatora-io.php" instead of "curatora-stories.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin558 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP55737394
CSS1385164

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions11
▷ Named functions11100.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
There were not PNG files found in your plugin