WordPress plugin IDATERMS scored 78% from 54 tests.

About plugin

  • Plugin page: idaterms-sort-ter...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.7.2
  • WordPress version: 6.3.1
  • First release: Feb 10, 2017
  • Latest release: Feb 8, 2017
  • Number of updates: 12
  • Update frequency: every 4.7 days
  • Top authors: ceslava (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 691 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.06MB] [CPU: ▼1.80ms] Passed 4 tests

An overview of server-side resources used by IDATERMS
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0539.96 ▼7.25
Dashboard /wp-admin3.37 ▲0.0748.29 ▼0.38
Posts /wp-admin/edit.php3.48 ▲0.1353.24 ▲1.80
Add New Post /wp-admin/post-new.php5.95 ▲0.0795.57 ▼1.36
Media Library /wp-admin/upload.php3.29 ▲0.0738.24 ▲3.10
IDATERMS /wp-admin/options-general.php?page=sort_taxonomies_date3.2333.45

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

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

Browser metrics Passed 4 tests

IDATERMS: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.78 ▲0.221.78 ▼0.5541.78 ▼1.63
Dashboard /wp-admin2,210 ▲225.86 ▲0.98113.38 ▼7.7244.05 ▲5.83
Posts /wp-admin/edit.php2,090 ▲12.01 ▼0.0440.52 ▲3.3436.85 ▼1.04
Add New Post /wp-admin/post-new.php1,547 ▲2818.08 ▼4.96623.81 ▼43.7054.08 ▼14.69
Media Library /wp-admin/upload.php1,389 ▲14.21 ▼0.06102.91 ▲0.2045.56 ▲2.81
IDATERMS /wp-admin/options-general.php?page=sort_taxonomies_date8002.0626.1928.48

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_theysaidso_widget
    • idaterms_options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=sort_taxonomies_date
    • > Warning in wp-content/plugins/idaterms-sort-terms-by-id-date/admin/class-idaterms-sort-terms-by-date-admin.php+77
    Use of undefined constant checked - assumed 'checked' (this will throw an Error in a future version of PHP)

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/idaterms-sort-terms-by-id-date/public/partials/idaterms-sort-terms-by-date-public-display.php

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: categories, taxonomy, category, tags, admin...

idaterms-sort-terms-by-id-date/idaterms-sort-terms-by-date.php 92% from 13 tests

"IDATERMS" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("idaterms-sort-terms-by-id-date.php" instead of "idaterms-sort-terms-by-date.php")

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 detected316 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP12116463263
PO File18943
JavaScript24546
XML1004
CSS2080

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.00
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.27
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods28
▷ Static methods27.14%
▷ Public methods2382.14%
▷ Protected methods00.00%
▷ Private methods517.86%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin