-
Home
-
TinyPNG – JPEG, PNG & WebP image compression
-
3.5.1 (latest)
-
Code
-
Classes
- Tiny_Compress
Total Complexity |
34 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
153 |
Lines of code |
109 |
Logical lines of code |
56 |
Comment lines |
1 |
Methods |
18 |
Properties |
1 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
compress_file() |
S |
50 |
7 |
30 |
get_status() |
S |
53 |
4 |
24 |
compression_cost() |
S |
60 |
3 |
14 |
create() |
S |
61 |
3 |
13 |
needs_resize() |
S |
67 |
3 |
7 |
call_after_compress_callback() |
S |
74 |
2 |
5 |
get_compression_count() |
S |
100 |
1 |
0 |
get_remaining_credits() |
S |
100 |
1 |
0 |
get_paying_state() |
S |
100 |
1 |
0 |
get_email_address() |
S |
100 |
1 |
0 |
get_key() |
S |
100 |
1 |
0 |
estimate_cost() |
S |
69 |
1 |
7 |
can_create_key() |
S |
100 |
1 |
0 |
__construct() |
S |
81 |
1 |
3 |
validate() |
S |
100 |
1 |
0 |
compress() |
S |
100 |
1 |
0 |
identifier() |
S |
78 |
1 |
3 |
limit_reached() |
S |
80 |
1 |
3 |