-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.7
-
Code
-
Classes
- LP_Datetime
Total Complexity |
37 |
Dependencies |
3 |
Dependents |
9 |
Total lines |
312 |
Lines of code |
166 |
Logical lines of code |
88 |
Comment lines |
108 |
Methods |
11 |
Properties |
6 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format() |
A |
43 |
9 |
50 |
format_human_time_diff() |
A |
46 |
7 |
38 |
get_string_plural_duration() |
S |
49 |
6 |
34 |
__construct() |
S |
63 |
4 |
10 |
getTimestamp() |
S |
61 |
3 |
12 |
is_null() |
S |
79 |
2 |
3 |
toSql() |
S |
72 |
2 |
6 |
is_exceeded() |
S |
80 |
1 |
3 |
get_raw_date() |
S |
82 |
1 |
3 |
__toString() |
S |
80 |
1 |
3 |
toSqlLocal() |
S |
74 |
1 |
4 |